public DayForecastService(DateTime startDate, DateTime endDate, DayForecastConfiguration dayForecastConfiguration, IDapperRepository<DayForecast> dapperRepository) { _startDate = startDate; _endDate = endDate; _dayForecastConfiguration = dayForecastConfiguration; _dapperRepository = dapperRepository; GenerateDateRangeCollection(); }
public DayForecastService(DateTime startDate, DateTime endDate, DayForecastConfiguration dayForecastConfiguration, IDapperRepository <DayForecast> dapperRepository) { _startDate = startDate; _endDate = endDate; _dayForecastConfiguration = dayForecastConfiguration; _dapperRepository = dapperRepository; GenerateDateRangeCollection(); }