public List <Order> GetAllOrdersByCustomerBreweryId(string customerId, string breweryId) { try { List <Order> orders = repo.GetAllOrdersByCustomerBreweryIdAsync(customerId, breweryId).Result; Log.Information("Successfully Retrieved All Orders by Customer and Brewery Id"); return(orders); }catch (Exception e) { Log.Information($"Failed to retrieve all orders by Customer and Brewery Id - {e.Message}"); return(new List <Order>()); } }