Ejemplo n.º 1
0
 public void InsertRepair(Repair model)
 {
     try
     {
         using (var context = new BJContext())
         {
             context.Insert <Repair>(model);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
Ejemplo n.º 2
0
 public void InsertControler(Controler model)
 {
     try
     {
         using (var context = new BJContext())
         {
             context.Insert <Controler>(model);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
Ejemplo n.º 3
0
 public void InsertMonitorHistory(MonitorHistory model)
 {
     try
     {
         using (var context = new BJContext())
         {
             context.Insert <MonitorHistory>(model);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }