public async Task <IActionResult> GetFiles([FromQuery] int?period, [FromQuery] DateTime?date) { var temperatures = await _temperatureService.GetTemperatures(date, period); return(this.Ok(temperatures)); }