internal async Task <EstimateCostsResponse> EstimateCosts(EstimateCostsRequest request) { if (request == null) { throw new Exception("No data provided to API"); } var apiResponse = await _client.PostAsync <EstimateCostsResponse, OrderInput>("orders/estimate-costs", request.OrderInput); return(apiResponse); }
public async Task <EstimateCostsResponse> EstimateCosts(EstimateCostsRequest request) { var result = await _orderService.EstimateCosts(request); return(result); }