public ActionResult Create(int formatId, string recordTitle, string recordArtist) { Dictionary <string, object> model = new Dictionary <string, object>(); Format foundFormat = Format.Find(formatId); Record newRecord = new Record(recordTitle, recordArtist); foundFormat.AddRecord(newRecord); List <Record> formatRecords = foundFormat.Records; model.Add("records", formatRecords); model.Add("format", foundFormat); return(View("Show", model)); }