public CreateUserHandler(ICodeGenerator codeGenerator, IRequestValidator <CreateUser> requestValidator, IUsersRepository usersRepository, IProfileImageUrlProvider imageUrlProvider) { this.codeGenerator = codeGenerator; this.requestValidator = requestValidator; this.usersRepository = usersRepository; this.imageUrlProvider = imageUrlProvider; }
public RegisterUserWithCredentialsCommandHandler( IAuthRepository authRepository, IAvatarRepository avatarRepository, IProfileImageUrlProvider profileImageUrlProvider, IMapper mapper, IMediator mediator) { _authRepository = authRepository; _avatarRepository = avatarRepository; _profileImageUrlProvider = profileImageUrlProvider; _mapper = mapper; _mediator = mediator; }