feat: Add ClusteringRepository for fetching recommendations

This commit is contained in:
Cutiful 2025-07-10 18:17:20 +07:00
parent 32933d9ad3
commit ff0341e2e0

View File

@ -0,0 +1,11 @@
package com.syaroful.agrilinkvocpro.growth_recipe_feature.data.repository
import com.syaroful.agrilinkvocpro.growth_recipe_feature.data.model.ClusteringResponse
import com.syaroful.agrilinkvocpro.growth_recipe_feature.data.network.ClusteringService
class ClusteringRepository(private val apiService: ClusteringService) {
suspend fun getRecommendation(): List<ClusteringResponse> {
return apiService.getRecommendations()
}
}