Hi, I have the following script
Table - Items id int (PK), name varchar(100) Table - Category id int (PK), name varchar(100) Table - Category_item category_id int (FK), item_id int (FK)
I am using Asp.Net MVC and Entitydatamodel . In the view, I have a drop-down list to show categories and check boxes for displaying the item.
I want to insert into the table - Category_item when I select the category and elements that take into account the current situation. How can I do it? How to transfer values ββfrom a view to a controller?
source share