3
I need to know how to pass the values of inputs checkboxes to the action Edit, need to pass the properties Checked and Id and store in a list of type Photo. Noting that the controller that this being executed is not of the same type as the view, this control is of gallery, the model gallery has a property of type List<Photo>.
Follows below the prints.
Model:

View:

Controller:

Print from the screen to understand the context:

Where are the Checkboxes?
– Leonel Sanches da Silva
@Ciganomorrisonmendez updated the question with the print of the general context.
– Luiz Negrini
What you are trying to do subverts the MVC standard. The controller never sees the view but the other way around.
– Paulo Morgado