public ActionResult Index() { MarketPriceService service = new MarketPriceService(); NewsService newsSvr = new NewsService(); Category category = null; List<News> news = newsSvr.GetLastestMarketInfoNews(out category); HomePageModel model = new HomePageModel() { LiveMarketPrices = service.GetLivePrices(), LastestMarketInfoNews = news, MarketInfoCategory = category, }; return View(model); }