import 'package:account/src/core/domain/repositories/account_repository.dart';
import 'package:account/src/features/linked_devices/domain/entities/update_device_request_entity.dart';
// import 'package:account/src/features/linked_devices/domain/entities/device_entity.dart';
// import 'package:account/src/features/linked_devices/domain/get_linked_devices_use_case.dart';
import 'package:account/src/features/linked_devices/domain/update_device_use_case.dart';

class UpdateDeviceUseCaseImpl implements UpdateDeviceUseCase {
  UpdateDeviceUseCaseImpl(this._repository);

  final AccountRepository _repository;

  @override
  Future<void> updateDevice({required String userId, required String deviceId, required UpdateDeviceRequestEntity request}) async {
    return _repository.updateDevice(userId: userId, deviceId: deviceId, request: request);
  }
}
