public IOCLocator(ISQLiteConnectionDependency sqliiteConnectionDependency, IMapperDependency mapperDependency, INetworkDependency networkDependency, IUserPreferences userPreferences, ICUCService cucService, ILoginService logService, IValidBonusService validBonusService, IBonusDataRepository bonusDataRepository, ITokenDataRepository tokenDataRepository, IUserDataRepository userDataRepository, IWSLoginRepository wsLoginRepository, IWSValidBonoRepository wsValidBonoRepository) { SQLiteConnectionDependency = sqliiteConnectionDependency; MapperDependency = mapperDependency; NetworkDependency = networkDependency; UserPreferences = userPreferences; CUCService = cucService; LogService = logService; ValidBonusService = validBonusService; BonusDataRepository = bonusDataRepository; TokenDataRepository = tokenDataRepository; UserDataRepository = userDataRepository; WSLoginRepository = wsLoginRepository; WSValidBonoRepository = wsValidBonoRepository; }
public LoginService(IWSLoginRepository LoginRepository, IMapperDependency mapperDependency, IUserPreferences userPreferences, IUserDataRepository userDataRepository, IResourcesDependency resourceDependency) { _LoginRepository = LoginRepository; _mapper = mapperDependency.GetMapper(); _userPreferences = userPreferences; _userDataRepository = userDataRepository; _loginValidator = new LoginValidator(resourceDependency); }