package com.radiola.domain.usecase.auth

import com.radiola.domain.repository.SyncRepository
import javax.inject.Inject

class PushHistoryUseCase @Inject constructor(
    private val syncRepository: SyncRepository
) {
    suspend operator fun invoke(stationId: Int): Result<Unit> =
        syncRepository.pushHistory(stationId)
}
