public List <BeerItems> GetAllBeersByBreweryId(string breweryId) { try { List <BeerItems> beers = repo.GetAllBeersByBreweryIdAsync(breweryId).Result; Log.Information("Successfully retrieved all beers by Brewery Id"); return(beers); }catch (Exception e) { Log.Information($"Failed to retrieve all beers by brewery Id - {e.Message}"); return(new List <BeerItems>()); } }