Skip to content

Commit

Permalink
feature #13: SignUpUseCase
Browse files Browse the repository at this point in the history
  • Loading branch information
hyeeum committed Dec 6, 2024
1 parent e4170ab commit 833364c
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions app/src/main/java/org/sopt/and/domain/usecase/SignUpUseCase.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package org.sopt.and.domain.usecase

import org.sopt.and.domain.entity.request.RequestSignUpEntity
import org.sopt.and.domain.entity.response.ResponseSignUpEntity
import org.sopt.and.domain.repository.WavveRepository
import javax.inject.Inject

class SignUpUseCase @Inject constructor(
private val signUpRepository: WavveRepository
) {
suspend operator fun invoke(signUpEntity: RequestSignUpEntity): Result<ResponseSignUpEntity> =
signUpRepository.signUp(signUpEntity)
}

0 comments on commit 833364c

Please sign in to comment.