Wednesday 13 July 2022

CS0119 'Employee List' is a type, which is not valid in the given context

Watch this example on YouTube:


 To fix this error replace (semicolon) in view

@model WebApplication3.Models.EmployeeList;

with

@model WebApplication3.Models.EmployeeList

No comments:

Post a Comment