Question: Assignment 8 - 1 : Use TempData to display messages For this assignment, you ll modify the SportsPro website so it uses TempData to display

Assignment 8-1
: Use TempData to display
messages
For this assignment, you
ll modify the SportsPro website so it uses TempData to display
messages when an operation is successful.
The Product Manager page after a new product has been added
Specifications
In the Product controller, edit the return types of the action methods so an action
method that returns a view specifies ViewResult as the return type and an action
method that redirects specifies RedirectToActionResult as the return type.
In the Product controller, use TempData to store a success message after each
successful add, edit, or delete operation. Then, display the message on the Product
Manager page. To do that, you can add some code to the layout that displays a
TempData message across the top of the page if the message exists.
Assignment
8
-
2
: Use a view model with the
Incidents Manager
For this assignment, you
ll modify the SportsPro website so it uses a view model to pass
data to the List Manager page and its Add
/
Edit Incident page.
Specifications
Use a view model to pass data to the Incident Manager page. This view model should
store a list of incidents and a string that specifies whether all incidents, unassigned
incidents, or open incidents are displayed. You
ll implement this filtering in assignment
1
0
-
1
.
Use a view model to pass data to the Add
/
Edit Incident page. This view model should
store a list of customers, a list of products, a list of technicians, the current incident, and
a string that specifies whether the page is for an Add or Edit operation.
Hi,I need complete code, and step by step instructions on what files to put code into. Thank you.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!