Beispiel #1
0
        public ActionResult ModifyRole(int id, String roleName)
        {
            SecurityBusiness securityBusiness = new SecurityBusiness();
            RoleModels       role             = new RoleModels();

            role.Name   = roleName;
            role.IdRole = id;
            securityBusiness.ModifyRole(role);

            return(Json("Exitoso"));
        }