public DepartmentGroupAppService(IMapper mapper, IDepartmentGroupRepository departmentRepository, IEventStoreRepository eventStoreRepository, IBus bus) { this._mapper = mapper; this._departmentGrRepository = departmentRepository; this._eventStoreRepository = eventStoreRepository; this.Bus = bus; }
public DepartmentGroupCommandHandler(IDepartmentGroupRepository DepartmentRepository, IUnitOfWork uow, IBus bus, IDomainNotificationHandler <DomainNotification> notifications) : base(uow, bus, notifications) { _departmentRepository = DepartmentRepository; Bus = bus; }
public DepartmentGroupService(IBaseRepository <DepartmentGroup> baseRepository, IDepartmentGroupRepository departmentGroupRepository) : base(baseRepository) { _baseRepository = baseRepository; _departmentGroupRepository = departmentGroupRepository; }