public CreateCategoryCommandHandler(IBlogEngineRepository <BlogCategoryEntity, int> blogCategoryRepository, INotificationHandler <DomainNotification> notifications, IEventDispatcher eventDispatcher, IBlogEngineUow uow) : base(notifications, eventDispatcher, uow) { _blogCategoryRepository = blogCategoryRepository; _eventDispatcher = eventDispatcher; }
public CommandHandler(INotificationHandler <DomainNotification> notifications, IEventDispatcher eventDispatcher, IBlogEngineUow uow) { _notifications = (DomainNotificationHandler)notifications; _eventDispatcher = eventDispatcher; _uow = uow; }