Skip navigation

Migrate the delete actions

Migrate the delete actions: Migrating from MVC 5 to ASP.NET Core MVC
Migrate the delete actions: Migrating from MVC 5 to ASP.NET Core MVC

The HTTP Get Delete Action method is updated to use the new base Controller HTTP helper methods for error handling, the repository for data access, and the MovieViewModel for data transport. The HTTP Post Action method is updated to access the Timestamp property, eliminates the redundant database call, and uses the repository to delete the record.

Resume Transcript Auto-Scroll
Skill Level Intermediate
2h 57m
Duration
17,743
Views
Show More Show Less
Skills covered in this course
Web Web Development ASP.NET Core MVC ASP.NET MVC

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start My Free Month

Start your free month on LinkedIn Learning, which now features 100% of Lynda.com courses. Develop in-demand skills with access to thousands of expert-led courses on business, tech and creative topics.

Start My Free Month

You are now leaving Lynda.com and will be automatically redirected to LinkedIn Learning to start your free trial.