public IActionResult Create(Article article) { if (article == null) { return(NotFound("Could not create object.")); } _articleRepo.Create(article); _articleRepo.Save(); return(RedirectToAction("Index", "Home")); }