コード例 #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());
        }
コード例 #2
0
ファイル: ProductAppService.cs プロジェクト: LazyBrian/Manage
 public async Task DeleteEdition(DeleteEditionInput input)
 {
     await _productRepository.DeleteAsync(input.Id);
 }
コード例 #3
0
ファイル: FeatureService.cs プロジェクト: periface/SapTam
        public async Task DeleteEdition(DeleteEditionInput input)
        {
            var edition = await _editionManager.FindByIdAsync(input.EditionId);

            await _editionManager.DeleteAsync(edition);
        }