Beispiel #1
0
        public async Task DeleteEdition(DeleteEditionInput input)
        {
            var edition = await _editionManager.FindByIdAsync(input.EditionId);

            await _editionManager.DeleteAsync(edition);

            await _editionNotificationsSender.SendNotificationEditionDeleted(edition, await GetCurrentUserAsync());
        }
Beispiel #2
0
 public async Task DeleteEdition(DeleteEditionInput input)
 {
     await _productRepository.DeleteAsync(input.Id);
 }
Beispiel #3
0
        public async Task DeleteEdition(DeleteEditionInput input)
        {
            var edition = await _editionManager.FindByIdAsync(input.EditionId);

            await _editionManager.DeleteAsync(edition);
        }