public static SessionsRepositoryImpl getInstance(ILocalStorageProvider localStorage, ICacheProvider cahce, JsonMapper jsonMapper) { if (INSTNCE == null) { INSTNCE = new SessionsRepositoryImpl(localStorage, cahce, jsonMapper); } return(INSTNCE); }
public static ISessionsRepository injectSessionRepository() { return(SessionsRepositoryImpl.getInstance(injectLocalStorageProivder(), injectCahceProvider(), injectJsonMapper())); }