Пример #1
0
        public ActionResult Index([Bind(Include = "Page, Sort")] PageSortCriteria pageSortCriteria, [Bind(Include = "Filename, Title, Version")] ProjectDocumentSearchCriteria searchCriteria = null)
        {
            ProjectDocumentListVM vm = new ProjectDocumentListVM
            {
                ProjectDocuments = UOW.ProjectDocuments.GetAllPaged(pageSortCriteria, searchCriteria),
                PageSortCriteria = pageSortCriteria,
                SearchCriteria   = searchCriteria
            };

            return(View(vm));
        }
 public ProjectDocumentListVM()
 {
     SearchCriteria = new ProjectDocumentSearchCriteria();
 }
 public ProjectDocumentListVM()
 {
     SearchCriteria = new ProjectDocumentSearchCriteria();
 }