예제 #1
0
        public async Task CreateItemBundleAsync(ItemBundle itemBundle, CancellationToken cancellationToken = default)
        {
            if (itemBundle == null)
            {
                throw new ArgumentNullException(nameof(itemBundle));
            }

            await itemBundleRepository.AddAsync(itemBundle.CreateDtoItemBundle(), cancellationToken);
        }