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)); }
public ContentResult List([FromForm] Bootstrap.BootstrapParams bootstrap) { var sd = _customerServices.PageList(bootstrap); return(Content(sd)); }