public async Task <CdmaRegionDateView> QueryLastDateStat(string initialDate, string city) { var service = new CdmaRegionStatService(_regionRepository.Object, _statRepository.Object); return(await service.QueryLastDateStat(DateTime.Parse(initialDate), city)); }
public async Task <CdmaRegionDateView> Get(string city, DateTime statDate) { return(await _service.QueryLastDateStat(statDate, city)); }