I am new to Entity and Visual Studio. I have two models already populated with data and the third one is originally part of the controller that I want to implement the other two models in. I don't want to edit the other two models but just show the data already in the table.
I have tried using tuple using this tutorial Multiple models in a view but am unable to use @foreach statements.
@model Tuple<App.Models.ValueForecast, App.Models.FacilityEditor, App.Models.ForecastSub>
Whats the easiest way of being able to have three models in one view? The other two models must be able to display the data from their table data.
I know there is a method with a viewModels but the data from the table is not showing up, I used this method: Two models in one view in ASP MVC 3 but did not work