Beispiel #1
0
        // GET: PurchaseOrder
        public ActionResult Index()
        {
            List <PurchaseOrderViewModel> model = PurchaseOrderDAL.GetData();

            ViewBag.ListStatus = new SelectList(PurchaseOrderDAL.GetStatus(), "ID", "StatusName");
            return(View(model));
        }
Beispiel #2
0
        public ActionResult Load()
        {
            List <PurchaseOrderViewModel> model = PurchaseOrderDAL.GetData();

            return(PartialView("_Index", model));
        }