void RecordTemperature(string city, double temperature, DateTime timestamp) { _weatherApi.RecordTemperature(new RecordTemperature { City = city, Temperature = temperature, TimeStamp = timestamp }); _weatherStationUI.SetDailyAverageTemperatures(_weatherApi.GermansDailyAverageTemperatures); }