private HtmlHelper GetHtmlHelperForStoryListPager(string actionName, RouteData routeData, int currentPage, int totalStoryCount) { routeData.Values["controller"] = "Story"; routeData.Values["action"] = actionName; routeData.Values["page"] = currentPage; StoryListViewData model = new StoryListViewData { StoryPerPage = 10, TotalStoryCount = totalStoryCount, CurrentPage = currentPage }; return(GetHtmlHelper(new ViewDataDictionary { Model = model }, routeData)); }
public StoryListViewDataFixture() { _viewData = new StoryListViewData(); }