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