I added a cshtml page in an project. When I tried to add the following declaration to it, I get an error: \"The name \'model\' does not exist in current context\".
Check your config file on views directory. in the add the key for MVC 4/5