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