public Beer GetBeerById(string beerId) { try { Beer beer = repo.GetBeerByIdAsync(beerId); Log.Information("Successfully retrieved Beer by beer Id"); return(beer); } catch (Exception e) { Log.Information($"Failed to retrieve beer by beer Id - {e.Message}"); return(new Beer()); } }