public ActionResult List(SysConfigList model) { if (!string.IsNullOrEmpty(model.Search)) { model.Id = -1; model.Search = Server.UrlDecode(model.Search.Trim()); } model.Id = string.IsNullOrEmpty(model.Search) && model.Id == -1 ? 0 : model.Id; model.PageSize = 20; SysConfigService.GetList(model); return(View(model)); }
public ResultDto <List <SysConfigDto> > GetList([FromQuery] SysConfigQueryDto queryParams) { return(_service.GetList(queryParams)); }