Ejemplo n.º 1
0
        //Purchase Result
        public ActionResult PurchaseResult(int?id)
        {
            if (id == null)
            {
                return(RedirectToAction("Error", "Home"));
            }
            PurchaseResultVM purchaseResultVM = purchaseBll.GetPurchaseDetail(id);

            if (purchaseResultVM == null)
            {
                return(RedirectToAction("Error", "Home"));
            }
            return(View(purchaseResultVM));
        }
Ejemplo n.º 2
0
        public JsonResult GetPurchaseDetilByConsignment(string consignmentNumber)
        {
            PurchaseBLL objPurchaseBLL = new PurchaseBLL();
            var         purchaseDetail = objPurchaseBLL.GetPurchaseDetail(consignmentNumber);

            return(Json(purchaseDetail, JsonRequestBehavior.AllowGet));
        }