public void DeleteCabinet2Door(Sender sender, Guid DoorID) { try { using (ObjectProxy op = new ObjectProxy(true)) { op.DeleteCabinet2DoorByDoorID(DoorID); op.CommitTransaction(); } } catch (Exception ex) { PLogger.LogError(ex); throw ex; } }
public void DeleteCabinet2Door(Sender sender, Guid DoorID) { try { using (ObjectProxy op = new ObjectProxy(true)) { op.DeleteCabinet2DoorByDoorID(DoorID); op.CommitTransaction(); } } catch (Exception ex) { PLogger.LogError(ex); throw ex; } }