Example #1
0
        public JsonResult GetModelByID(int ID)
        {
            string     strError = "";
            T_MenuInfo model    = new T_MenuInfo();

            model.ID = ID;
            bool isSuccess = funcmenu.GetModelByID(ref model, ref strError);

            return(Json(new { state = isSuccess, obj = model }, JsonRequestBehavior.AllowGet));
        }
Example #2
0
        public bool GetT_MenuByID(ref T_MenuInfo model, ref string strError)
        {
            T_MENU_Func tfunc = new T_MENU_Func();

            return(tfunc.GetModelByID(ref model, ref strError));
        }