Concurrency error when deleteing or updating multiple primary key fields
Jane clicks Save first and sees her change when the browser returns to the Index page.Optimistic concurrency means allowing concurrency conflicts to happen, and then reacting appropriately if they do.For example, Jane visits the Department Edit page and changes the Budget amount for the English department from $350,000.00 to $0.00.(The CLR requires overloaded methods to have different method parameters.) Now that the signatures are unique, you can stick with the MVC convention and use the same name for the Http Post and Http Get delete methods.
If the department is already deleted, the method returns false and the application just goes back to the Index method.
Therefore, you must configure the database and the data model appropriately.
Concurrency error when deleteing or updating multiple primary key fields comments