public ActionResult <string> Get() { var json = carsService.GetCarsJson(); if (!string.IsNullOrEmpty(json)) { return(json); } else { _logger.LogError($"Unable to get data from cars.json"); return(StatusCode((int)HttpStatusCode.NotFound, "")); } }