Beispiel #1
0
        public async Task <IHttpActionResult> GetPurchase(string id)
        {
            Purchase purchase = _SVC.GetPurchase(id);

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

            return(Ok(purchase));
        }
 public ActionResult Edit(string xTransNo)
 {
     return(PartialView(_Service.GetPurchase(xTransNo)));
 }