public ActionResult GetReceiverMailInfo(ReceiverMailInfoSearchModel model, int searchPage) { SearchDataWithPagedDatas <ReceiverMailInfoSearchModel, ReceiverMailInfoListModel> result = new SearchDataWithPagedDatas <ReceiverMailInfoSearchModel, ReceiverMailInfoListModel>(); result.SearchModel = model; result.PagedDatas = ReceiverMailInfoBLL.GetPagedReceiverMailInfo(model, searchPage, this.PageSize); return(PartialView("_ReceiverMailInfoPagedGrid", result)); }
public ActionResult SearchReceiverMailInfo() { SearchDataWithPagedDatas <ReceiverMailInfoSearchModel, ReceiverMailInfoListModel> model = new SearchDataWithPagedDatas <ReceiverMailInfoSearchModel, ReceiverMailInfoListModel>(); model.SearchModel = new ReceiverMailInfoSearchModel(); model.PagedDatas = ReceiverMailInfoBLL.GetPagedReceiverMailInfo(model.SearchModel, 1, this.PageSize); return(PartialView("_SearchReceiverMailInfoList", model)); }