예제 #1
0
 public async Task RemoveAsync(Order order)
 {
     _context.Remove(order);
     _context.RemoveRange(order.Files);
     await _context.SaveChangesAsync();
 }
예제 #2
0
 public async Task RemoveAsync(User user)
 {
     _context.Remove(user);
     await _context.SaveChangesAsync();
 }
예제 #3
0
 public async Task RemoveAsync(Log log)
 {
     _context.Remove(log);
     await _context.SaveChangesAsync();
 }
예제 #4
0
 public async Task RemoveAsync(File file)
 {
     _context.Remove(file);
     await _context.SaveChangesAsync();
 }