Beispiel #1
0
 public void UpdateRepair(Repair model)
 {
     try
     {
         using (var context = new BJContext())
         {
             context.Update <Repair>(model);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
Beispiel #2
0
 public void UpdateControler(Controler model)
 {
     try
     {
         using (var context = new BJContext())
         {
             context.Update <Controler>(model);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
Beispiel #3
0
 public void UpdateMonitorHistory(MonitorHistory model)
 {
     try
     {
         using (var context = new BJContext())
         {
             context.Update <MonitorHistory>(model);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }