Exemple #1
0
        public async Task RenumberAsync(int maxClusters = 100)
        {
            await _geocodingDbSync.UpdateAllAsync();

            await ComputeK(maxClusters);

            IEnumerable <DateTime> startTimes = (await _legRepository.ListAsync()).Select(leg => leg.StartTime);

            _RenumberedEarliestDate = startTimes.Min();
            _RenumberedLatestDate   = startTimes.Max();
        }
Exemple #2
0
 public async Task Post()
 {
     await _dbSync.UpdateAllAsync();
 }