public IPagingList <AccountUser> GetPagingList(AccounQueryRequest filterRequest) { Specification <AccountUser> specification = new Specification <AccountUser>(); specification.SetPage(filterRequest); return(repository.GetPagingList(specification)); }
public IPagingList APIStaffer([FromServices] AccountService service, [FromQuery] AccounQueryRequest filterRequest) { IPagingList list = service.GetPagingList(filterRequest).ProjectedAsPagingList <AccountUserDto>(); return(list); }