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());
 }