Пример #1
0
        /// <summary>
        /// Lấy giá trị trong session của cá nhân hiện tại theo danh sách
        /// </summary>
        /// <param name="thetype">Kiểu menu được soạn thảo</param>
        /// <returns></returns>
        public JsonResult Get(string key)
        {
            string thevalue = ses.Get(key);

            return(Json(new
            {
                lst = thevalue, //Danh sách
                ret = 0         //ok
            }, JsonRequestBehavior.AllowGet));
        }