SportsPro -Use a View Model with the Incidents Manager Advanced Web-Enabled Application Development – INFS-4950

Description

In this practice exercise, you will be guided through modifying the SportsPro app to use a view model to pass data to the Incident Manager page and its Add/Edit Incident page. Upon completing this exercise, you should be able to improve efficiency of passing data to views using view models. Follow along with the instruction sheet and Panopto videos provided for the SportsPro – Use a view model with the Incidents Manager Practice Tutorial. The videos will guide you step-by-step through improving the transfer of data using a view model.You may use the starter application files provided below to begin this assignment.Practice 8-2 SportsPro (instruction sheet only)Practice Tutorial 8-2 SportsProIncidentsViewModels.html (links to instruction sheet and videos with zip file)

Don't use plagiarized sources. Get Your Custom Assignment on
SportsPro -Use a View Model with the Incidents Manager Advanced Web-Enabled Application Development – INFS-4950
From as Little as $13/Page

Unformatted Attachment Preview

Chapter 8 How transfer data from controllers
Practice 8-2 Use a view model with the Incidents
Manager
For this assignment, you will modify the SportsPro website, so it uses a view model to pass data to the
Incident Manager page and its Add/Edit Incident page. Study figure 8-10 in your textbook for more detailed
information about using view models.
Specifications
1. 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 the filtering for the page (set the property that specifies the
filtering to “all”).
2. 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. This list of customers, products, and technicians
will eliminate the need to store these lists in the ViewBag. For more details about the relationship
between Incidents, Customers, Products, and Technicians, see the ERD provided below for a
reference.
Turn in the SportsPro app
1. Once you are satisfied with your application, close Visual Studio, compress the SportsPro app at the root
level, and rename the compressed folder using the following naming convention:
FirstInitial_LastName_Ch08SportsPro_8-2
For example:
M_Korzaan_Ch08SportsPro_8-2
Upload the renamed, compressed folder to the appropriate Dropbox in D2L.
2

Purchase answer to see full
attachment