示例#1
0
        protected override IQueryable <BasketItem> CreateFilteredQuery(GetBasketItemListDto input)
        {
            var userId = input.UserId ?? CurrentUser.GetId();

            return(ReadOnlyRepository.Where(item => item.UserId == userId && item.BasketName == input.BasketName));
        }