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 ValidBonusService(IWSValidBonoRepository wSValidBonoRepository, IMapperDependency mapperDependency, IUserPreferences userPreferences, IBonusDataRepository bonusDataRepository) { _wSValidBonoRepository = wSValidBonoRepository; _mapper = mapperDependency.GetMapper(); _userPreferences = userPreferences; _bonusDataRepository = bonusDataRepository; }