Esempio n. 1
0
        public ActionResult Manage()
        {
            var model = new ArticleViewModel();

            model.Authors = Mapper.Map <IList <Author>, IList <Models.NewArticleViewModel.AuthorViewModel> >(_articleManager.GetAllAuthors());
            return(View(model));
        }