public ActionResult Create(HiveCreate model) { if (!ModelState.IsValid) { return(View(model)); } var service = new HiveService(); if (service.CreateHive(model)) { TempData["SaveResult"] = "Your hive was created. May the flow be aplenty."; return(RedirectToAction("Index")); } ModelState.AddModelError("", "Hive could not be created."); return(View(model)); }