public async Task <ProductItem> GetAsync(Guid walletId, Guid productId) { var productItem = await productItemRepository.GetByProductIdWhitWalletIdAsync(walletId, productId); if (productItem == null) { productItem = new ProductItem() { CreatedUserId = Guid.Parse(UserStringInfo.SystemUserId), ProductId = productId, WalletId = walletId }; await productItemGenericRepository.AddAsync(productItem); await productItemGenericRepository.Commit(); } return(productItem); }