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