public static AuthRepositoryImpl getInstance(ICacheProvider cache, IApiProvider apiProvider) { if (instance == null) { instance = new AuthRepositoryImpl(cache, apiProvider); } return(instance); }
public static IAuthRepository injectAuthRepository() { return(AuthRepositoryImpl.getInstance(injectCahceProvider(), injectApiProvider())); }