public SearchService(ApplicationDbContext context, IRepository <Character> repo , ICharacterSpellService characterSpellService, ICharacterAbilityService characterAbilityService, IItemService itemService) { _context = context; _repo = repo; _characterSpellService = characterSpellService; _characterAbilityService = characterAbilityService; _itemService = itemService; }
public CharacterService(ApplicationDbContext context, IRepository <Character> repo, IConfiguration configuration, ICharacterSpellService characterSpellService, ICharacterAbilityService characterAbilityService, IItemService itemService) { _context = context; _repo = repo; _characterSpellService = characterSpellService; _characterAbilityService = characterAbilityService; _itemService = itemService; this._configuration = configuration; }