package llc.arma.ble.domain.usecase

import llc.arma.ble.domain.model.Rotation
import llc.arma.ble.domain.repository.RotationsRepository
import javax.inject.Inject

class GetRotationsBySerial @Inject constructor (
    private val rotationsRepository: RotationsRepository
) {

    suspend operator fun invoke(serial: String): List<Rotation> {

        return rotationsRepository.getRotationsBySerial(serial)

    }

}