I want to capture the company name. if the user changes the company name then update the previousnames table .... I have used the out of the box scaffolding.... I'm not sure if I should be doing this test on the view......
This is what I would like to do : - Inside the Edit
- Before the CompanyName is updated grab it, in to a variable
- Test if the CompanyName Field has been changed if so, call a c# function to update the database with the companyname captured.
Sorry for all the questions.... trying to wrap my head around MVC/C#/EF, etc all at once... :(