import '../repositories/profile_setup_repository.dart';

class SubmitProfileSetup {
  final ProfileSetupRepository repository;

  SubmitProfileSetup(this.repository);

  Future<void> call({
    required String fullName,
    String? bio,
    required List<String> preferredLocations,
    required double maxDistanceMiles,
    required List<String> industries,
    required List<String> skills,
  }) {
    return repository.submitProfile(
      fullName: fullName,
      bio: bio,
      preferredLocations: preferredLocations,
      maxDistanceMiles: maxDistanceMiles,
      industries: industries,
      skills: skills,
    );
  }
}
