Ejemplo n.º 1
0
        public void Arrange()
        {
            Mapper    = new MapperConfiguration(c => c.AddProfile <DefaultProfile>()).CreateMapper();
            Mediator  = new Mock <IMediator>();
            Logger    = new Mock <ILogger>();
            UrlHelper = new Mock <UrlHelper>();

            var orchestrator = new UserOrchestrator(Mapper, Mediator.Object, Logger.Object);

            Controller     = new UserController(orchestrator);
            Controller.Url = UrlHelper.Object;
        }
 public AccountApiController(
     IEventNotificationService eventNotificationService,
     UserOrchestrator userOrchestrator,
     IPasswordService passwordService,
     IMessageService messageService,
     PasswordlessLoginOptions passwordlessLoginOptions,
     IApplicationService applicationService
     )
 {
     _eventNotificationService = eventNotificationService;
     _userOrchestrator         = userOrchestrator;
     _passwordService          = passwordService;
     _messageService           = messageService;
     _passwordlessLoginOptions = passwordlessLoginOptions;
     _applicationService       = applicationService;
 }
Ejemplo n.º 3
0
 public UserController(UserOrchestrator orchestrator)
 {
     _orchestrator = orchestrator;
 }
Ejemplo n.º 4
0
 public UserController(UserOrchestrator orchestrator, IProviderCommitmentsLogger logger)
 {
     _orchestrator = orchestrator;
     _logger       = logger;
 }
 public UserApiController(UserOrchestrator userOrchestrator)
 {
     _userOrchestrator = userOrchestrator;
 }
Ejemplo n.º 6
0
 public StatusController(UserOrchestrator orchestrator)
 {
     _orchestrator = orchestrator;
 }