// // GET: /Admin/Action/Delete/5 public ActionResult DeleteAction(int id = 0) { var actiondetail = _ObjActionRepository.GetActionById(id); if (actiondetail == null) { return(HttpNotFound()); } return(View(actiondetail)); }