public HttpResponseMessage Delete(string cityId) { try { return(Request.CreateResponse(HttpStatusCode.OK, WeatherService.DeleteFromFaforite(cityId))); } catch (Exception e) { var message = $"Failed to get thumbnail record."; return(Request.CreateErrorResponse(HttpStatusCode.InternalServerError, $"{message}, error: {e.Message}")); } }