Hi gurus,
I hope it is the right forums to ask this question.
As I have been learning the MVC4, So, I 'm following this one blog post of codeforum Link [ http://www.codeproject.com/Articles/687061/Using-Multiple-Models-in-a-View-in-ASP-NET-MVC-M. ]
As, in this example author has explained to create Model.cs first then use model/entity (student or faculty or course) to create /save data in repository class (another c# class).
I am unable to do the same as class are being underlined by red colour to show as error, perhaps IDE or project environment (not sure) is unable to identify public class(s) of same namespace (mvcapp.Models;)
i have posted the same question over code forum as well. but it seems author is out of reach, link is-> My comment
Kindly suggest me where I m going wrong, Kindly post reply to this thread, as the same issue is arising with this code in another vs12 instance and in vs2010 as well.. kindly assist, if I am making any C# syntactical/or concept related error(c#)
However, there is no error while I am create standalone classes, for instance student.cs or faculty.cs in aforementioned query.