//[Route("GetOrdersByCustomerIdAsync/{customerId}")]
        public async Task <IActionResult> GetOrdersByCustomerIdAsync(int customerId)
        {
            var result = await _orderProvider.GetOrdersByCustomerIdAsync(customerId);

            if (result.IsSuccess)
            {
                return(Ok(result.Orders));
            }
            return(NotFound());
        }