i have two models "user" (id,username,address) and "sales" (id,descriprion,userid)
user can have multiple sales (one to many relationship)
and i want to add user information from mvc razor form and i also want to send sales information to controller from my form.
my question is what is the best way to do this task
I am using grid and a small form to add sales in a grid and want to post that grid with user information. i dont know how to do this.
please suggest me the best way to do this task. or the way that i am using how to post sales also with user information.
Here is the way i want to post this form