public ChangeRoleUseCase( ICurrentUserService currentUser, IIdentityService identityService, IChangeRoleOutputPort outputPort) { this.currentUser = currentUser; this.identityService = identityService; this.outputPort = outputPort; }
public ChangeRoleUseCase(IUserRepository userRepository, IChangeRoleOutputPort outputPort) { this.userRepository = userRepository; this.outputPort = outputPort; }