public ActionResult AddOrEdit(int id = 0) { var mile = _menuDal.Get <Menu>(id); return(Json(AjaxResult.Success(mile), JsonRequestBehavior.AllowGet)); }