//Create Role public ActionResult CreateRole(string rolename) { if (!_identityService.RoleExists(rolename)) { _identityService.CreateRole(rolename); } return(Redirect("Users")); }