package de.trainingstagebuch.app.services

import de.trainingstagebuch.app.repository.TrainingStatsResult
import de.trainingstagebuch.app.repository.TrainingstagebuchRepository
import de.trainingstagebuch.app.repository.MemberActivityStatsResult

class TrainingStatsService(
    private val repository: TrainingstagebuchRepository
) {
    suspend fun loadTrainingStats(clubId: String): TrainingStatsResult {
        return repository.loadTrainingStats(clubId)
    }

    suspend fun loadMemberActivityStats(clubId: String, memberId: String): MemberActivityStatsResult {
        return repository.loadMemberActivityStats(clubId, memberId)
    }
}
