package com.fastest.pass.forgotpassword.data.repository

import com.fastest.pass.app.WebResponse
import com.fastest.pass.forgotpassword.data.model.ForgotPasswordRequest
import com.fastest.pass.forgotpassword.data.remote.ForgotPasswordApiService
import com.fastest.pass.forgotpassword.domain.repository.ForgotPasswordRepository
import java.util.Objects
import javax.inject.Inject

class ForgotPasswordRepositoryImpl @Inject constructor(
    private val forgotPasswordApiService: ForgotPasswordApiService
) : ForgotPasswordRepository{
    override suspend fun forgotPasswordRepository(forgotPasswordRequest: ForgotPasswordRequest): WebResponse<Objects> {
        return forgotPasswordApiService.forgotPassword(forgotPasswordRequest)
    }

}