public ActionResult DeleteConfirmed(int id) { ArticleType articleType = _articleTypeService.Find(id); if (articleType == null) { return(BadRequest()); } _articleTypeService.Delete(articleType); return(RedirectToAction("Manage")); }