public void CallUpdateFulfillmentData(IMarketOrderUpdaterApi api, IList <string> orderNumbers)
 {
     using (var db = _dbFactory.GetRWDb())
     {
         var service = new BaseOrderUpdater(api, _log, _time);
         service.UpdateOrders(db, orderNumbers);
     }
 }
예제 #2
0
 public void CallUpdateFulfillmentData(IMarketOrderUpdaterApi api, string orderString)
 {
     using (var db = _dbFactory.GetRWDb())
     {
         var service = new BaseOrderUpdater(api, _log, _time);
         service.UpdateOrders(db, !String.IsNullOrEmpty(orderString) ? new List <string>()
         {
             orderString
         } : null);
     }
 }
 public BaseOrderUpdater(IMarketOrderUpdaterApi api, ILogService log, ITime time)
 {
     _api  = api;
     _log  = log;
     _time = time;
 }