public string Search(ButtonSearchRequestDto searchModel) { var gridParam = GetGridParams(); var list = _buttonService.Search(searchModel, ref gridParam); return(JSONHelper.ToJson(list, gridParam == null ? list.Count : gridParam.TotalCount)); }
public string Search(ButtonSearchRequestDto searchModel) { var gridParam = GetGridParams(); var list = _buttonService.Search(searchModel, ref gridParam); return(JSONHelper.ToJson(list, gridParam == null ? list.Count : gridParam.TotalCount)); }