コード例 #1
0
 public ClientModel Topic(int? page)
 {
     _topicDriver = DependencyResolver.Current.GetService<ITopicDriver>();
     int pageNumber = GetPageNumber(page);
     var pageTopics = _topicDriver.PagingMyClientTopics(pageNumber, DefaultSetting.TopicsPerPage, "CreateTime DESC");
     return pageTopics;
 }
コード例 #2
0
        public ActionResult Topic(int?page)
        {
            int pageNumber = GetPageNumber(page);
            var pageTopics = _topicDriver.PagingMyClientTopics(pageNumber, DefaultSetting.TopicsPerPage, "CreateTime DESC");

            return(View(pageTopics));
        }
コード例 #3
0
        public ClientModel Topic(int?page)
        {
            _topicDriver = DependencyResolver.Current.GetService <ITopicDriver>();
            int pageNumber = GetPageNumber(page);
            var pageTopics = _topicDriver.PagingMyClientTopics(pageNumber, DefaultSetting.TopicsPerPage, "CreateTime DESC");

            return(pageTopics);
        }