Пример #1
0
        public ActionResult AutoUser()
        {
            var query       = Request["query"];
            var ltsResults  = _dnUserApi.GetListAuto(query, 10, UserItem.AgencyID);
            var resulValues = new AutoCompleteProduct
            {
                query       = query,
                suggestions = ltsResults
            };

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