I'm very new to MVC. I have visual studio 2010 and MVC 4.
as most articles I read, I have to create a model class, and then add Controller which generate (create, delete, details, Edit and Index views).
now suppose that I have two related tables, like: Company and CompanyBranches.
I can create model, controller and views for each one individually but I can't combine 2 views (I want to modify the details view of Company, to display all related CompanyBranches on it.).
How can I do this? Knowing that I tried to add a reference for Company Branches model to Company details view, but it looks like adding two models is not allowed on MVC.