public async Task Update(Department entity) { _context.Update(entity); await _context.SaveChangesAsync(); }
public async Task Update(Employee entity) { _context.Update(entity); await _context.SaveChangesAsync(); }