상속: CQRSMicroservices.Framework.Command
 private async Task Handle(MakeArticleUnavailableCommand command)
 {
   await Repository.ExecuteOn<ArticleAggregateRoot>(command.ArticleId, command);
 }
 private void Handle(MakeArticleUnavailableCommand command)
 {
     RaiseEvent(new ArticleUnavailableEvent {
         ArticleId = command.ArticleId
     });
 }
예제 #3
0
 private async Task Handle(MakeArticleUnavailableCommand command)
 {
     await Repository.ExecuteOn <ArticleAggregateRoot>(command.ArticleId, command);
 }
 private void Handle(MakeArticleUnavailableCommand command)
 {
   RaiseEvent(new ArticleUnavailableEvent { ArticleId = command.ArticleId });
 }