Exemplo n.º 1
0
        public IActionResult Index()
        {
            HomeViewModel homeVM = new HomeViewModel()
            {
                Topics = _topicService.GetAllWithLastMessage()
            };

            return(View(homeVM));
        }