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