Exemple #1
0
 public async Task ClearRanksAsync(List <Rank> ranks)
 {
     _context.RemoveRange(ranks);
     await _context.SaveChangesAsync();
 }
Exemple #2
0
 public async Task ClearAutoRolesAsync(List <AutoRole> autoRoles)
 {
     _context.RemoveRange(autoRoles);
     await _context.SaveChangesAsync();
 }