Exemple #1
0
        public ActionResult Customers(string searchTerm)
        {
            var customers = ContextHelper.CustomerFilter(searchTerm);
            var result    = new JsonResult {
                Data = customers, JsonRequestBehavior = JsonRequestBehavior.AllowGet
            };

            return(result);
        }