Skip to content

Commit

Permalink
💚 :: PatchLectureUseCase 주석처리
Browse files Browse the repository at this point in the history
:: PatchLectureUseCase 주석처리
  • Loading branch information
Chaejongin12 committed Aug 29, 2024
1 parent 660a6e5 commit 4a3af7a
Showing 1 changed file with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
package com.msg.domain.usecase.lecture

import com.msg.data.repository.lecture.LectureRepository
import com.msg.model.param.lecture.OpenLectureParam
import java.util.UUID
import javax.inject.Inject

class PatchLecture @Inject constructor(
private val lectureRepository: LectureRepository
) {
operator fun invoke(id: UUID, body: OpenLectureParam) = runCatching {
lectureRepository.patchLecture(id = id, body = body)
}
}
//import com.msg.data.repository.lecture.LectureRepository
//import com.msg.model.param.lecture.OpenLectureParam
//import java.util.UUID
//import javax.inject.Inject
//
//class PatchLecture @Inject constructor(
// private val lectureRepository: LectureRepository
//) {
// operator fun invoke(id: UUID, body: OpenLectureParam) = runCatching {
// lectureRepository.patchLecture(id = id, body = body)
// }
//}

0 comments on commit 4a3af7a

Please sign in to comment.