I have 2 models; TypeOne
and Project_Screen
. I need a view that makes 2 tables with information from both of those tables. I tried to use this guide to making a view model which helped but isnt doing quite the same thing I am:
Note: So according to your scenario you can use like this
@foreach (var item in Model.Project_Screen)
. Additionally, be conscious about your naming convention likeProject_Screen Project_Screen
is confusing either practice likeProject_Screen ProjectScreen
orProjectScreen Project_Screen
.
Hope above steps guide you accordingly. You can enhance your Idea more about this on our official document here