public void RemoveIoTSetup(IoTSetup ioTSetup)
 {
     ctx.IoTSetups.Remove(ioTSetup);
     ctx.SaveChanges();
 }
예제 #2
0
 public void DeleteIoTSetup(IoTSetup ioTSetup)
 {
     ioTRepository.RemoveIoTSetup(ioTSetup);
     unitOfWorkManager.Save();
 }
 public IoTSetup CreateIoTSetup(IoTSetup ioTSetup)
 {
     ctx.IoTSetups.Add(ioTSetup);
     ctx.SaveChanges();
     return(ioTSetup);
 }