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