public async Task <IActionResult> GetProductAsync(int customerId) { var result = await _ordersProvider.GetCustomerOrdersAsync(customerId); if (result.IsSuccess) { return(Ok(result.orders)); } return(NotFound()); }