예제 #1
0
        //Create Role

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