public FilterResult <UserDto> GetDataGrid(FilterRequest rq) { rq.Keyword = rq.Keyword?.ToLower(); var list = base.GetAll().Where(rq.Filters).OrderBy(rq.Orders).WhereIf(!string.IsNullOrEmpty(rq.Keyword), x => x.UserName.ToLower().Contains(rq.Keyword)); return(FilterResult.Pagination <Domain.Users.User, UserDto>(list, rq)); }