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