Is there a better way to add a child record using MVC 4 and Entity Framework 5?
I am just learning MVC and dealing with its stateless nature in combination with Entity Framework. My question is, is there a more elegant way of handling the scenario below? I have two POCO entities: public class Contest { public long ID { get; set; } .... ..... public ICollection<ContestPrize> Prizes { get; set; } } public class ContestPrize { public long ID { get; set; } public Contest Contest { get; set; } } I then have a MVC View that displays the Contest and all the Prizes associated with them. On that view I have a "Create Prize" link to create a new prize which passes the ID of the