Skip to content

Commit

Permalink
feat : DeleteRunningHistoryUseCase 추가 #PAR-383
Browse files Browse the repository at this point in the history
  • Loading branch information
nohjunh committed Oct 14, 2023
1 parent 9e2b35f commit 0a41bf2
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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()

}

0 comments on commit 0a41bf2

Please sign in to comment.