public ActionResult CreateContact() { Dictionary <string, object> model = new Dictionary <string, object>(); Address foundAddress = Address.Find(Int32.Parse(Request.Form["address-id"])); Contact contactName = new Contact(Request.Form["contact-name"], int.Parse(Request.Form["contact-phone"]), Request.Form["contact-place"]); foundAddress.AddContact(contactName); List <Contact> addressContacts = foundAddress.GetContacts(); model.Add("contacts", addressContacts); model.Add("address", foundAddress); return(View("Details", model)); }