1
That’s because probably the FuncionarioModel
is in a namespace different - I inferred this because it is normal to organize the namespaces in project folders . NET.
In this case, or do you care namespace in a "global" way, using the _ViewImports.cshtml
- See more in the documentation:
@using Projeto.Models
Or use the full class name on @model
.
@model Models.FuncionarioModel
Remember to always tell if you are using ASP.NET MVC (classic, .NET Framework) or ASP.NET Core. Also, please post code and error messages in text instead of images, this allows your question to be easily found by the error message and allows people with external domain locks to try to help you =)
– Jéf Bueno