package com.fastest.pass.signup.domain.usecase

import com.fastest.pass.app.BaseUseCase
import com.fastest.pass.app.WebResponse
import com.fastest.pass.signup.data.model.SignupRequest
import com.fastest.pass.signup.data.model.SignupResponse
import com.fastest.pass.signup.domain.repository.SignupRepository
import javax.inject.Inject

class SignupUseCase @Inject constructor(
    private val signupRepository: SignupRepository
) : BaseUseCase<SignupRequest, WebResponse<SignupResponse>>() {
    override suspend fun execute(params: SignupRequest): WebResponse<SignupResponse> {
        return signupRepository.signupRepository(params)
    }
}