import '../repositories/approval_draft_repository.dart';

/// 결재 초안을 삭제하는 유즈케이스.
class DeleteApprovalDraftUseCase {
  DeleteApprovalDraftUseCase({required ApprovalDraftRepository repository})
    : _repository = repository;

  final ApprovalDraftRepository _repository;

  Future<void> call({required int id, required int requesterId}) {
    return _repository.delete(id: id, requesterId: requesterId);
  }
}
