// GET: MenuSub/Details/5 public ActionResult Details(int id) { var data = MenuSubServices.GetByID(id); return(View(data)); }