Exemplo n.º 1
0
        /// <summary>
        /// Dùng cho tra cứu nhanh
        /// </summary>
        /// <returns></returns>
        public ActionResult AutoComplete()
        {
            var term       = Request["term"];
            var ltsResults = _categoryApi.GetListSimpleByAutoComplete(term, 10, true, UserItem.AgencyID);

            return(Json(ltsResults, JsonRequestBehavior.AllowGet));
        }