public PreciseRegionDateView Get(string city, DateTime statDate)
 {
     return(_service.QueryLastDateStat(statDate, city));
 }
示例#2
0
        public PreciseRegionDateView QueryLastDateStat(string initialDate, string city)
        {
            var service = new PreciseRegionStatService(_statRepository.Object, _townRepository.Object);

            return(service.QueryLastDateStat(DateTime.Parse(initialDate), city));
        }