Question: We are going to write a Razor view with a conditional and loop. For this you have the following model: Here are the requirements of
We are going to write a Razor view with a conditional and loop. For this you have the following model:
Here are the requirements of the view you are to write:
- You must use the above model
- If IsActive is true then create an unordered list with each award string as a list item
- If the number of Awards is more than 5 print "Great Job!" below the unordered list and use bold text
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
