public IActionResult Index() { var vm = new IndexViewModel { StoryCount = trendService.GetTotalStoryCount() }; return(View(vm)); }
public ActionResult Index() { return(Ok(trendService.GetTotalStoryCount())); }