package com.remax.visualnovel.repository.api

import com.remax.visualnovel.api.service.ActorsService
import com.remax.visualnovel.entity.request.ParamActorList
import com.remax.visualnovel.entity.request.ParamActorTag
import com.remax.visualnovel.repository.api.base.BaseRepositoryNew
import javax.inject.Inject


class ActorsRepository @Inject constructor(private val mActorsService: ActorsService) : BaseRepositoryNew() {
    suspend fun getActorTags(param: ParamActorTag) = executeHttp {
        mActorsService.requestActorTags(param)
    }

    suspend fun getActorList(param: ParamActorList) = executeHttp {
        mActorsService.requestActorList(param)
    }

}