public ApiUpdaterService(ILogger <ApiUpdaterService> logger, IPlayerService playerService, IPlayerRepository playerRepository, ICharacterRepository characterRepository, ICharacterService characterService, ISkillRepository skillRepository, ISkillService skillService, ICraftableService craftableService, ICraftableRepository craftableRepository, IBondService bondService, IBondRepository bondRepository, ICharacterSkillService characterSkillService, ICharacterSkillRepository characterSkillRepository) { _logger = logger; _playerService = playerService; _playerRepository = playerRepository; _characterService = characterService; _characterRepository = characterRepository; _skillService = skillService; _skillRepository = skillRepository; _itemService = craftableService; _itemRepository = craftableRepository; _bondRepository = bondRepository; _bondService = bondService; _charSkillService = characterSkillService; _charSkillRepository = characterSkillRepository; }
/// <summary> /// Creates a new instance of the <see cref="BondsController"/> class /// </summary> /// <param name="repository">Repository containing bonds and access methods</param> /// <param name="charRepo">Repository containing characters and access methods</param> /// <param name="itemRepo">Repository containing items and access methods</param> /// <param name="service">Class containing methods to call the items API</param> public BondsController(IBondRepository repository, ICharacterRepository charRepo, ICraftableRepository itemRepo, IBondService service) { _repository = repository; _characterRepository = charRepo; _itemRepository = itemRepo; _service = service; }
public ProductService(IStockService stockService, IBondService bondService) { this._StockService = stockService; this._BondService = bondService; }