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