The Delete view

Blog.Url should be displayed instead of Blog ID in the Delete view as well:

    <dl class="dl-horizontal">
...
<dd>
@Html.DisplayFor(model => model.Blog.Url)
</dd>
</dl>

 The changes were reflected on the Delete confirmation screen that now displays the Blog URL instead of the Blog ID:

Delete a post

The Post list page doesn't display the deleted item, which ensures that the data has been deleted from the table:

List view after deleting a post

We have identified certain missing pieces of the puzzle in the CRUD operations that were covered in Chapter 1Kickstart - Introduction to Entity Framework Core because there is no specific change that needs to be addressed in the database-first approach.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset