Answer the question
In order to leave comments, you need to log in
How to pass a list of checkboxes to a WebApi controller?
There is a list of positions, each of which corresponds to
Tell me how the webapi (post) controller method should look like and what code can data be sent to it?
upd:
Everything is sent by ajax, without submitting the page. Accordingly, it accepts the webapi controller method.
Answer the question
In order to leave comments, you need to log in
https://docs.microsoft.com/en-us/aspnet/web-api/ov...
I forgot to clarify (got tired). Everything is sent by ajax, without submitting the page. Accordingly, it accepts the method of the webapi controller (through the form, I can do it, there are no questions there) ...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question