public ActionResult ListUser(NotifySearchModel searchModel) { var pagedList = NotifyService.Search2(searchModel.Title, searchModel.FromDateTimeCreated, searchModel.ToDateTimeCreated, searchModel.Type, searchModel.PageIndex); pagedList.SearchModel = searchModel; return(PartialView("_ListUser", pagedList)); }
public ActionResult IndexUser(NotifySearchModel searchModel) { ViewBag.Type = WebUtil.GetEnumSelectList <Notifi_Type>(); return(View(searchModel)); }