Ejemplo n.º 1
0
        public PartialViewResult NewsRight()
        {
            NewsRightModel model = new NewsRightModel();
            NewsService newsService = new NewsService();

            model.RecommendNews = newsService.GetRecommendNews();
            model.TopNews = newsService.GetHotNews();

            return PartialView(model);
        }