public async Task <IActionResult> GetAveragePrice(string neighbourhood) { try { return(Ok(await _calendarRepository.GetAverageNeighbourhoodPrice(neighbourhood))); } catch (InvalidOperationException) { return(NotFound($"Neighbourhood {neighbourhood} not found")); } }