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

Creating our UI for DELETE


Creating the UI for DELETE

In this video, we added the UI button so users would be able to delete an existing item. We haven't yet hooked up the functionality but the simple UI button gets us what we need in the HTML.

Remember for DELETE to work in our API we need the ID of the item we want to delete. That's why we pass along the ID of the item clicked with our handler.