예제 #1
0
 public Contract Delete(Contract contract)
 {
     _context.Remove(contract);
     _context.SaveChanges();
     return(contract);
 }
예제 #2
0
 public Operation Delete(Operation operation)
 {
     _context.Remove(operation);
     _context.SaveChanges();
     return(operation);
 }
 public Inspection Delete(Inspection inspection)
 {
     _context.Remove(inspection);
     _context.SaveChanges();
     return(inspection);
 }