Profiles.kt 287 Bytes
Newer Older
1
2
package org.craftsrecords.talkadvisor.recommendation.spi

Julien Topçu's avatar
Julien Topçu committed
3
import org.craftsrecords.hexarch.Repository
4
5
import org.craftsrecords.talkadvisor.recommendation.profile.Profile

Julien Topçu's avatar
Julien Topçu committed
6
@Repository
7
interface Profiles {
Julien Topçu's avatar
Julien Topçu committed
8
    fun save(profile: Profile): Profile
9

Julien Topçu's avatar
Julien Topçu committed
10
    fun fetch(userId: String): Profile?
11
}