public async Task AddAsync(Order order) { await _context.AddAsync(order); await _context.AddRangeAsync(order.Files); await _context.SaveChangesAsync(); }
public async Task AddAsync(Permissions permissions) { await _context.AddAsync(permissions); await _context.SaveChangesAsync(); }
public async Task AddAsync(User user) { await _context.AddAsync(user); await _context.SaveChangesAsync(); }
public async Task AddAsync(Log log) { await _context.AddAsync(log); await _context.SaveChangesAsync(); }
public async Task AddAsync(File file) { await _context.AddAsync(file); await _context.SaveChangesAsync(); }