Building a CRUD Application with Angular & ASP.Net Core - Services in Angular DELETE

Your Turn: Implement DELETE


Your Turn: Implement DELETE

It's your turn to implement DELETE in your application. Let's take a look at the steps required to do that.

Steps to implement DELETE

  1. Give your users the ability in the UI to delete an existing item. This can easily be done with a button.
  2. Hook your UI element up to your associated component and call your service. We used a the click handler in the CampTracker.
  3. Inside of your service, implement the ability to remove an item. Make your DELETE request.

After this, you should have a fully working DELETE in your application.


I finished! On to the next chapter