Example #1
0
 public ArticleUserService(IMapper mapper,
                           IMediatorHandler bus,
                           INotificationHandler <DomainErrorNotification> notificationHandler)
 {
     this._mapper = mapper;
     this._bus    = bus;
     this._notificationHandler = notificationHandler as DomainErrorNotificationHandler;
 }
Example #2
0
 public ArticleService(IArticleRepository articleRepository,
                       IMapper mapper,
                       IMediatorHandler bus,
                       INotificationHandler <DomainErrorNotification> notificationHandler)
 {
     _articleRepository        = articleRepository;
     this._mapper              = mapper;
     this._bus                 = bus;
     this._notificationHandler = notificationHandler as DomainErrorNotificationHandler;
 }