public async Task UpdateListOfVesselsAsync(List <VesselAisUpdateModel> updateList)
        {
            _counter = 0;

            while (_counter < _progress.GetTotalResultsQuantity())
            {
                await ProcessNextStepAsync(updateList);
            }

            StatusModel progress = _progress.GetProgressStatus();

            _dataService.SaveUpdateLogs(progress);
        }
Пример #2
0
 public StatusModel GetUpdatingStatus()
 {
     return(_progress.GetProgressStatus());
 }