private void Dispose(bool disposing)
 {
     if (!_disposed && disposing)
     {
         if (_gateway != null)
         {
             var gw = (IDisposable)_gateway;
             _gateway = null;
             gw.Dispose();
         }
         _disposed = true;
     }
 }
 public UZDataContext(Ticket ticket, UZAPIConfig apiConfig)
 {
     _translator = new UZDomainTranslator(ticket);
     _gateway    = new UZDataGateway(apiConfig);
 }