Esempio n. 1
0
        public PartialViewResult LastNewsBox(int page)
        {
            var model = Mapper.Map <List <ArticleBaseVm> >(_context.GetLastNews(page, PageCountNewsBox));

            return(PartialView("_LastNewsBox", model));
        }