/// <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)); }
private void Delete(string name) { roleBll.DeleteRole(name); logger.Trace("Success"); }