예제 #1
0
        public IActionResult Search(string text)
        {
            var bootstrap = new Bootstrap.BootstrapParams
            {
                limit  = 100,
                offset = 0,
                sort   = "CreateDate",
                search = text,
                order  = "desc"
            };
            var json = _customerServices.PageList(bootstrap);

            return(Content(json));
        }
예제 #2
0
        public ContentResult List([FromForm] Bootstrap.BootstrapParams bootstrap)
        {
            var sd = _customerServices.PageList(bootstrap);

            return(Content(sd));
        }