예제 #1
0
 public BattleService(HeroesDbContext context, IRewardService hashingManager, IHeroService heroService, IVillainService villainService, IOptions <AppSettings> appSettings)
 {
     _context        = context;
     _rewardService  = hashingManager;
     _heroService    = heroService;
     _villainService = villainService;
     _appSettings    = appSettings.Value;
 }
 public VillainController(IVillainService service)
 {
     _villainService = service;
 }
 public VillainsController(IVillainService villainService)
 {
     _villainService = villainService;
 }