Then, create an instance of the ContactInfo object, with your own info. Don’t worry about public/private issues, because you and your professor will be the only viewers.

Finally, pass the object to the view (as an argument).

.

Edit the Contact view

Above the code block at the top of the view, declare the model class/type:
@model Lab1.Controllers.ContactInfo

Then, add markup and code expressions, and nicely format the data. Maybe use some of the existing markup for ideas.

Remember – use @model to get access to the data that was passed in.

.

Submit your work on My.Seneca/Blackboard

Follow these instructions very carefully to submit your work on My.Seneca/Blackboard.

1. In Solution Explorer, select/highlight the solution

2. Right-click, and choose “Open File in File Explorer”, and an Explorer window will open

3. Navigate up one level; your “Lab1″ folder will be highlighted/selected

4. Copy-paste the “Lab1″ folder. It will create a folder named “Lab1 – Copy”; that’s OK

5. Open the “Lab1 – Copy” folder; remove/delete the “packages” folder

6. Open the “Lab1″ folder; remove the bin and obj folders

7. Navigate back up two levels; your “Lab1 – Copy” folder will be highlighted

8. Create a compressed (zip) version of that folder; the easiest way is right-click > Send to > Compressed (zipped) folder; the resulting file size will be fairly small, maybe about 500KB (or less) in size

9. Login to My.Seneca/Blackboard

10. Navigate to the BTI420 Assignments area, and use the link to the Lab 1 upload to submit your work