public ReviewDocumentListVM() { SearchCriteria = new ReviewDocumentSearchCriteria(); }
public ReviewDocumentListVM() { SearchCriteria = new ReviewDocumentSearchCriteria(); }
public ActionResult Index([Bind(Include = "Page, Sort")] PageSortCriteria pageSortCriteria, [Bind(Include = "Filename, Title, Version")] ReviewDocumentSearchCriteria searchCriteria = null) { ReviewDocumentListVM vm = new ReviewDocumentListVM { ReviewDocuments = UOW.ReviewDocuments.GetAllPaged(pageSortCriteria, searchCriteria), PageSortCriteria = pageSortCriteria, SearchCriteria = searchCriteria }; return(View(vm)); }