diff --git a/core/domain/src/main/java/online/partyrun/partyrunapplication/core/domain/my_page/DeleteRunningHistoryUseCase.kt b/core/domain/src/main/java/online/partyrun/partyrunapplication/core/domain/my_page/DeleteRunningHistoryUseCase.kt new file mode 100644 index 00000000..e81ab1db --- /dev/null +++ b/core/domain/src/main/java/online/partyrun/partyrunapplication/core/domain/my_page/DeleteRunningHistoryUseCase.kt @@ -0,0 +1,11 @@ +package online.partyrun.partyrunapplication.core.domain.my_page + +import online.partyrun.partyrunapplication.core.data.repository.ResultRepository +import javax.inject.Inject + +class DeleteRunningHistoryUseCase @Inject constructor( + private val resultRepository: ResultRepository +) { + suspend operator fun invoke() = resultRepository.deleteAllHistories() + +}