public ActionResult Index_PendingToSubmit(int id) { IQueryable <PurchaseOrderAmendmentHeaderViewModel> p = _PurchaseOrderAmendmentHeaderService.GetPurchaseOrderAmendmentHeaderListPendingToSubmit(id, User.Identity.Name); PrepareViewBag(id); ViewBag.PendingToSubmit = PendingToSubmitCount(id); ViewBag.PendingToReview = PendingToReviewCount(id); ViewBag.IndexStatus = "PTS"; return(View("Index", p)); }