public ActionResult Create(Organisation org) { if (ModelState.IsValid) { Organisations.Insert(org); return(RedirectToAction("Index")); } else { return(View(org)); } }
public ActionResult Create(Organisation org) { if (ModelState.IsValid) { Organisations.Insert(org); return(RedirectToAction("Index")); } else { return(View(org)); } }