Пример #1
0
        public AuthenticateApplicationServiceTest() : base()
        {
            CreateScope();

            _userRepository = GetIntanceScope <IUserRepository>();
            _unitOfWork     = GetIntanceScope <IUnitOfWork>();
            _authenticateApplicationService = GetIntanceScope <IAuthenticateApplicationService>();
        }
Пример #2
0
 public AuthenticateController(IMediator bus, INotificationHandler <DomainNotification> notifications, IAuthenticateApplicationService authenticateApplicationService) : base(bus, notifications)
 {
     _authenticateApplicationService = authenticateApplicationService;
 }