Пример #1
0
        public ActionResult Index()
        {
            HomePageViewModel viewModel = new HomePageViewModel()
            {
                LastPublications = _publicationService.GetLastTenPublicationWeb()
            };

            return(View(viewModel));
        }