Exemple #1
0
        public JsonResult SearchColumnExplanations(string filter)
        {
            IGumruk iGumruk = new BSGumruk();

            string searchValue = HttpContext.Request.QueryString["filter[value]"];

            if (searchValue == null || searchValue.Length < 4)
            {
                return(Json(null, JsonRequestBehavior.AllowGet));
            }

            List <SearchResult> searchResults = iGumruk.ColumnExplanationSearch(searchValue);

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