public async Task <IHttpActionResult> GetReceipt(string id) { Receipt receipt = _SVC.GetReceipt(id); if (receipt == null) { return(NotFound()); } return(Ok(receipt)); }
public ActionResult Edit(string xTransNo) { return(PartialView(_Service.GetReceipt(xTransNo))); }