package com.diegocayo.organizame.domain.usecase

import com.diegocayo.organizame.domain.model.Subject
import com.diegocayo.organizame.domain.repository.SubjectRepository
import kotlinx.coroutines.flow.Flow
import javax.inject.Inject

class GetAllSubjectsUseCase @Inject constructor(
    private val repository: SubjectRepository
) {
    operator fun invoke(): Flow<List<Subject>> = repository.getAllSubjects()
} 