public static int Delete(params string[] primaryKeys) { //删除权限与角色的对应关系。 RoleAuthorizeAccess.Delete(primaryKeys); return(PermissionAccess.Delete(primaryKeys)); }
public bool Delete(int id) { return(dataAccess.Delete(id)); }