Posted on: 6/9/2014 9:24:59 PM | Views : 397

Hi all,
I am fairly new to ASP.net and MVC and have hit a brick wall!
I basically have 2 classes, one called Items and one called ItemLanguage (see below).  In the item table is all of my non-language dependant data (for example numbers and such), in the other table is all of my 'translateable' information.  So for each Item, there can be multiple ItemLanguages.  The problem that I have come across is in designing an Index page.  When the user logs in I want them to see a list of Items in their local language.  I have all of the language stuff working (in terms of resources, labels, etc), I just can't figure out how to 'flatten' the one-to-many relationship between Item and ItemLanguage.  It feels like I should be passing a ViewModel to the view, but I can't figure out how to build and populate it. 
The classes look like:
public class Item { public string ID { get; set; ...

Go to the complete details ...