public ActionResult Pager(string username, int?page) { return(this.PartialView(Partials.Pager, PagerViewModel.ConvertFrom(this .postService .GetPager(page, this.postService.GetTheLatestPostsByAuthor(username))))); }
public ActionResult Pager(int?page) { return(this.PartialView(Partials.Pager, PagerViewModel.ConvertFrom(this.commentService.GetPager(page)))); }