Exemple #1
0
        public async Task <IHttpActionResult> GetOrder(string id)
        {
            Order order = _SVC.GetOrder(id);

            if (order == null)
            {
                return(NotFound());
            }

            return(Ok(order));
        }
Exemple #2
0
 public ActionResult Edit(string xTransNo)
 {
     return(PartialView(_Service.GetOrder(xTransNo)));
 }