Пример #1
0
        public ActionResult Delete(int id)
        {
            var sr = new BORoleBLL().SaveDelete(id, UserId, UserName);

            return(Json(sr.toJson()));
        }
Пример #2
0
        public ActionResult SavePermission(List <RoleAuthority> roleAuthList)
        {
            var result = new BORoleBLL().SavePermission(UserId, roleAuthList, UserId, UserName);

            return(Json(result.toJson()));
        }