Пример #1
0
 public async Task RemoveAsync(User entity)
 {
     _context.Remove(entity);
     await _context.SaveChangesAsync();
 }
Пример #2
0
 public async Task RemoveAsync(Condition entity)
 {
     _context.Remove(entity);
     await _context.SaveChangesAsync();
 }