29.05.2015 Views

o_19mgorv9t13a3ko71fev19l81mqa.pdf

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

You can see the delete feature by clicking one of the Delete buttons in the product list page, as shown in Figure 11-11. As<br />

shown in the figure, I have taken advantage of the TempData variable to display a message when a product is deleted from the<br />

catalog.<br />

Figure 11-11. Deleting a product from the catalog<br />

Summary<br />

In this chapter, I introduced the administration capability and showed you how to implement CRUD operations that allow the<br />

administrator to create, read, update, and delete products from the repository. In the next chapter, I show you how to secure the<br />

administration functions so that they are not available to all users, and I add the finishing touches to complete the SportsStore<br />

functionality.<br />

300

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!