Well, I have little programming experience so I need help with this.
I have a table named Person , and a table to create the relationship between itself PersonParceiro , relationship 1 to several. that is, the Person of Tbl PersonParceiro is the PersonName = x of tbl Person and IdParceiro is also a PeopleName = Y .
I have a view index of the controler Person where list to me all the people registered in the Person table, in my idea I would create a button in the view index "relate person" that would redirect to another screen carrying the id of the person in context in the URL (load the id I get) .. but I have no idea how to create this view "relate person" where I would like to be able to search the person by name, and click on it already feeding the PersonParceiro table
Does anyone have an example code ?? Remembering I'm using EntityFramework 6