예제 #1
0
 public SearchService(ApplicationDbContext context, IRepository <Character> repo
                      , ICharacterSpellService characterSpellService, ICharacterAbilityService characterAbilityService, IItemService itemService)
 {
     _context = context;
     _repo    = repo;
     _characterSpellService   = characterSpellService;
     _characterAbilityService = characterAbilityService;
     _itemService             = itemService;
 }
예제 #2
0
 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;
 }