public void UpdateBeer(Beer beer) { try { repo.UpdateBeer(beer); Log.Information("Successfully Updated Beer Data"); } catch (Exception e) { Log.Information($"Failed to update beer data - {e.Message}"); } }