public SuperPoweredPeopleController(IAllSuperPoweredRepository allRepo,
                                     ISuperHeroRepository heroRepo, IVillainRepository villainRepo, ILogger logger)
 {
     this.allRepo     = allRepo;
     this.heroRepo    = heroRepo;
     this.villainRepo = villainRepo;
     this.logger      = logger;
 }
Esempio n. 2
0
 public GetWinnerQueryHandler(ISuperHeroRepository superHeroRepository,
                              IVillainRepository villainRepository,
                              IRepository <Battleground> battlegroundRepository,
                              IFightDomainService fightDomainService)
 {
     this.superHeroRepository    = superHeroRepository;
     this.villainRepository      = villainRepository;
     this.battlegroundRepository = battlegroundRepository;
     this.fightDomainService     = fightDomainService;
 }
 public GetVillainByIdQueryHandler(IVillainRepository villainRepository)
 {
     _villainRepository = villainRepository;
 }
 public AddVillainCommandHandler(IVillainRepository villainRepository)
 {
     this.villainRepository = villainRepository;
 }
Esempio n. 5
0
 public InsertVillainCommandHandler(IVillainRepository villainRepository)
 {
     _villainRepository = villainRepository;
 }
Esempio n. 6
0
 public VillainIdentifierService(IVillainRepository repository) : base(repository)
 {
 }