import 'package:krow_core/core.dart';
import '../repositories/clock_in_repository_interface.dart';

/// Use case for getting the current attendance status (check-in/out times).
class GetAttendanceStatusUseCase implements NoInputUseCase<Map<String, dynamic>> {
  final ClockInRepositoryInterface _repository;

  GetAttendanceStatusUseCase(this._repository);

  @override
  Future<Map<String, dynamic>> call() {
    return _repository.getAttendanceStatus();
  }
}
