Example #1
0
        public static AjaxResult GetWhere(string groupJSON)
        {
            var group = new JavaScriptSerializer().Deserialize <FilterGroup>(groupJSON);

            var translator = new FilterTranslator(group);

            translator.Translate();

            return(AjaxResult.Success((object)translator.ToString()));
        }