public async Task Update(Employee employee) { _context.Entry(employee).State = EntityState.Modified; await _context.SaveChangesAsync(); }
public async Task Update(Models.Attribute attribute) { _context.Entry(attribute).State = EntityState.Modified; await _context.SaveChangesAsync(); }