Example #1
0
        public ActionResult Details(int idNews, int idAuthor)
        {
            Wrapper wrap = new Wrapper();

            wrap.Anews  = InfoNews.ChargeInfo(idNews);
            wrap.Auteur = Author.ChargeAuthor(idAuthor);
            return(View(wrap));
        }
Example #2
0
        public ActionResult Index(int id)
        {
            Author aut = Author.ChargeAuthor(id);

            return(View(aut));
        }