

(Line: 18) The 'CakVm' displays the data on the delete confirmation page.(Line: 17) The 'ErrorMessage' property display the delete error message.

There is an option to customize the name of the HTTP GET request method then it should be like 'OnGet&saveChangesError=true") It is always ideal to have one method for each HTTP verbs like 'GET', 'POST'.

Public IndexModel(MyWorldDbContext myWorldDbContext)ĪllCakes = await _() Private readonly MyWorldDbContext _myWorldDbContext
