provideModelDAO

@Provides
@Singleton
fun provideModelDAO(database: AppDatabase): ModelDao

Provide an instance of ModelDAO.

Return

an instance of ModelDAO.

Parameters

database

the instance of AppDatabase to use to get the DAO.