From 833364c8f016f1427c1b06979f8e3fa0542c8fa7 Mon Sep 17 00:00:00 2001 From: hyeumm <20221159@sungshin.ac.kr> Date: Fri, 6 Dec 2024 22:16:33 +0900 Subject: [PATCH] feature #13: SignUpUseCase --- .../org/sopt/and/domain/usecase/SignUpUseCase.kt | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 app/src/main/java/org/sopt/and/domain/usecase/SignUpUseCase.kt diff --git a/app/src/main/java/org/sopt/and/domain/usecase/SignUpUseCase.kt b/app/src/main/java/org/sopt/and/domain/usecase/SignUpUseCase.kt new file mode 100644 index 0000000..0699404 --- /dev/null +++ b/app/src/main/java/org/sopt/and/domain/usecase/SignUpUseCase.kt @@ -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 = + signUpRepository.signUp(signUpEntity) +}