package uz.ssd.mobiuz.di

import dagger.Module
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent


@Module
@InstallIn(SingletonComponent::class)
class DatabaseModule {

//    @Provides
//    @Singleton
//    fun getDatabase(@ApplicationContext context: Context): AppDatabase =
//        Room.databaseBuilder(context, AppDatabase::class.java,"block").build()
//
//    @Provides
//    @Singleton
//    fun getProductDao(database: AppDatabase): ProductDao = database.productDao()
}

