Пример #1
0
        public ActionResult Details(int idNews, int idJourn)
        {
            JournalistNews jn = new JournalistNews()
            {
                Nouvelle = News.ChargerUneNews(idNews),
                Auteur   = Journalist.ChargerUnJournalist(idJourn),
            };

            return(View(jn));
        }
Пример #2
0
        public ActionResult Modifier(int id)
        {
            News n = News.ChargerUneNews(id);

            return(View(n));
        }