package co.tiagoaguiar.course.instagram.common.base

import co.tiagoaguiar.course.instagram.login.data.FakeDataSource
import co.tiagoaguiar.course.instagram.login.data.LoginRepository
import co.tiagoaguiar.course.instagram.register.data.FakeRegisterEmailDataSource
import co.tiagoaguiar.course.instagram.register.data.RegisterEmailRepository

object DependencyInjector {

  fun loginRepository() : LoginRepository {
    return LoginRepository(FakeDataSource())
  }

  fun registerEmailRepository() : RegisterEmailRepository {
    return RegisterEmailRepository(FakeRegisterEmailDataSource())
  }

}