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));
        }
示例#2
0
 public async Task <CdmaRegionDateView> Get(string city, DateTime statDate)
 {
     return(await _service.QueryLastDateStat(statDate, city));
 }