public ActionResult AddGroup(Group group) { if (User.Identity.IsAuthenticated && User.IsInRole("Admin")) { StatementManager.AddGroup(group); return(RedirectToAction("Groups", "Admin")); } return(RedirectToAction("Index", "Home")); }