/// <inheritdoc />
        public double GetCurrentDayForecastAccuracy()
        {
            var forecast             = ForecastRepository.GetTodayForecast();
            var observations         = ObservationRepository.GetAllObservationsFromToday();
            var numberOfObservations = observations.Count();

            if (numberOfObservations == 0)
            {
                return(0);
            }

            var numberOfObservationsMatchingForecast = 0;

            foreach (var observation in observations)
            {
                if (observation.AirTemperature >= forecast.MinNightTemperature &&
                    observation.AirTemperature <= forecast.MaxDayTemperature)
                {
                    numberOfObservationsMatchingForecast++;
                }
            }

            return((numberOfObservationsMatchingForecast * 100) / numberOfObservations);
        }