示例#1
0
        public IActionResult Details(Article article)
        {
            Article article1 = _articleRepo.NameExists(article.HeadLine);

            if (article1 == null)
            {
                return(NotFound("Something went wrong"));
            }

            return(View(article1));
        }