// GET: PurchaseOrder public ActionResult Index() { List <PurchaseOrderViewModel> model = PurchaseOrderDAL.GetData(); ViewBag.ListStatus = new SelectList(PurchaseOrderDAL.GetStatus(), "ID", "StatusName"); return(View(model)); }
public ActionResult Load() { List <PurchaseOrderViewModel> model = PurchaseOrderDAL.GetData(); return(PartialView("_Index", model)); }