Exemple #1
0
        public ActionResult ProposalsList(ProposalFilter filter, int page = 1)
        {
            PagingOption option = GetPagingOption15(page);

            var model = new ProposalsViewModel
            {
                Proposals = bll.ProposalManager.SelectProposals(filter, option),
                PagingOption = new WebPagingOption { CurrentPage = page, ItemsPerPage = PageSize15, TotalItems = option.RecordCount }
            };

            return PartialView(model);
        }
Exemple #2
0
 public ActionResult Proposals(ProposalFilter filter)
 {
     var model = new ProposalsViewModel
     {
         Filter = filter
     };
     return View(model);
 }