package keijumt.todoapp.di import dagger.Module import dagger.Provides import keijumt.todoapp.data.db.TaskDatabase import keijumt.todoapp.data.repository.TaskDataRepository import keijumt.todoapp.data.repository.TaskRepository import javax.inject.Singleton @Module class AppModule { @Singleton @Provides fun provideTaskRepository(database: TaskDatabase): TaskRepository = TaskDataRepository(database) }