Пример #1
0
 public Contract Update(Contract contract)
 {
     _context.Update(contract);
     _context.SaveChanges();
     return(contract);
 }
Пример #2
0
 public Operation Update(Operation operation)
 {
     _context.Update(operation);
     _context.SaveChanges();
     return(operation);
 }
 public Inspection Update(Inspection inspection)
 {
     _context.Update(inspection);
     _context.SaveChanges();
     return(inspection);
 }