Exemple #1
0
 public IActionResult GetDaysByCityName(string cityName)
 {
     try
     {
         var result = _repoWrapper.GetGeoMetricsByCityName(cityName).ToList();
         return(Ok(result));
     }
     catch (Exception)
     {
         return(StatusCode((int)HttpStatusCode.InternalServerError));
     }
 }