Пример #1
0
 public async Task <DkmsPage <GoodsStockHistoryEntity> > GetPageAsync(GoodsStockHistoryPageQuery query)
 {
     return(await _dkmsRepository.GetPageAsync(query.BuildPredicate(), query.BuildOrderBy(), query));
 }
Пример #2
0
 public async Task <DkmsPage <GoodsEntity> > GetPageAsync(Guid userId, DkmsPageQuery query)
 {
     return(await _dkmsRepository.GetPageAsync <GoodsEntity>(s => s.UserId == userId, query));
 }