public ActionResult Details(int?id) { ArticleType articletype = _articleTypeService.Find(id); if (articletype == null) { return(BadRequest()); } return(View(articletype)); }