private async Task Handle(MakeArticleUnavailableCommand command) { await Repository.ExecuteOn<ArticleAggregateRoot>(command.ArticleId, command); }
private void Handle(MakeArticleUnavailableCommand command) { RaiseEvent(new ArticleUnavailableEvent { ArticleId = command.ArticleId }); }
private async Task Handle(MakeArticleUnavailableCommand command) { await Repository.ExecuteOn <ArticleAggregateRoot>(command.ArticleId, command); }