public ActionResult GetDataByStatus(int id) { List <PurchaseOrderViewModel> model = PurchaseOrderDAL.GetDataByStatus(id); return(PartialView("_Index", model)); }