public async Task CreateItemBundleAsync(ItemBundle itemBundle, CancellationToken cancellationToken = default) { if (itemBundle == null) { throw new ArgumentNullException(nameof(itemBundle)); } await itemBundleRepository.AddAsync(itemBundle.CreateDtoItemBundle(), cancellationToken); }
public async Task AddItemBundles() { await itemBundleRepository.AddAsync(itemBundle); }