From 0a41bf2c323a7d4d98196a57b342716ac929a542 Mon Sep 17 00:00:00 2001 From: Junhyeok Date: Sat, 14 Oct 2023 14:58:28 +0900 Subject: [PATCH] =?UTF-8?q?feat=20:=20DeleteRunningHistoryUseCase=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80=20#PAR-383?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../domain/my_page/DeleteRunningHistoryUseCase.kt | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 core/domain/src/main/java/online/partyrun/partyrunapplication/core/domain/my_page/DeleteRunningHistoryUseCase.kt 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() + +}