Task 4: Display Search Results
Note
Before starting this task, un-comment out the tests in TestTaskFour
. You can do so by removing the /*
on line 18 and the */
on line 44.
Once you have your Results()
action method passing information to the
view, you need to display the data.
- In
Index.cshtml
, create a loop to display each job passed in from the controller. - Put the job results into a set of tables, similar to what you did for the
List/Jobs.cshtml
view.
Run the tests in TestTaskFour
to make sure that you have passed everything properly to the view!