public ApplicationService(IUnitOfWork unitOfWork) { this._unitOfWork = unitOfWork; this._notifications = DomainEvent.Container.GetService <IHandler <DomainNotification> >(); this._userRegisteredHandler = DomainEvent.Container.GetService <UserRegisteredHandler>(); }
public ApplicationService(IUnitOfWork unitOfWork) { this._unitOfWork = unitOfWork; this._notifications = DomainEvent.Container.GetService<IHandler<DomainNotification>>(); this._userRegisteredHandler = DomainEvent.Container.GetService<UserRegisteredHandler>(); }