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