Beispiel #1
0
        /// <summary>删除角色
        /// </summary>
        /// <param name="roleId">角色Id</param>
        /// <returns></returns>
        public ActionResult DeleteRole(int roleId)
        {
            RoleBll roleBll = new RoleBll();
            bool    result  = roleBll.DeleteRole(roleId);

            return(Json(result));
        }
Beispiel #2
0
 private void Delete(string name)
 {
     roleBll.DeleteRole(name);
     logger.Trace("Success");
 }