Skip to content

Commit

Permalink
[FEATURE] #15 : 사용자 등록 유스케이스 구현
Browse files Browse the repository at this point in the history
  • Loading branch information
jeongjaino committed Oct 10, 2023
1 parent 0583a20 commit 734a5ab
Showing 1 changed file with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
package com.wap.wapp.core.domain.usecase.user

import com.wap.wapp.core.data.repository.user.UserRepository
import javax.inject.Inject

class PostUserProfileUseCase @Inject constructor(
private val userRepository: UserRepository,
) {
suspend operator fun invoke(
userId: String,
userName: String,
studentId: String,
registeredAt: String,
): Result<Unit> {
return userRepository.postUserProfile(
userId = userId,
userName = userName,
studentId = studentId,
registeredAt = registeredAt,
)
}
}

0 comments on commit 734a5ab

Please sign in to comment.