public async Task <ActionResult> SalesOrderRecord(string salesOrderId)
        {
            var salesOrder = await _salesOrderService.GetSalesOrder(salesOrderId);

            return(View(salesOrder));
        }
        // GET api/SalesOrderApi/SalesOrderRecord?salesOrderId=SO00000001
        public async Task <IHttpActionResult> SalesOrderRecord(string salesOrderId)
        {
            var salesOrder = await _salesOrderService.GetSalesOrder(salesOrderId);

            return(Ok(new { salesOrder = salesOrder }));
        }
Ejemplo n.º 3
0
 public SalesOrderDetailsResponse GetSalesOrder(string externalId)
 {
     return(_salesOrderService.GetSalesOrder(externalId));
 }