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; }
public UserController(UserOrchestrator orchestrator) { _orchestrator = orchestrator; }
public UserController(UserOrchestrator orchestrator, IProviderCommitmentsLogger logger) { _orchestrator = orchestrator; _logger = logger; }
public UserApiController(UserOrchestrator userOrchestrator) { _userOrchestrator = userOrchestrator; }
public StatusController(UserOrchestrator orchestrator) { _orchestrator = orchestrator; }