public SuperPoweredPeopleController(IAllSuperPoweredRepository allRepo,
                                     ISuperHeroRepository heroRepo, IVillainRepository villainRepo, ILogger logger)
 {
     this.allRepo     = allRepo;
     this.heroRepo    = heroRepo;
     this.villainRepo = villainRepo;
     this.logger      = logger;
 }
示例#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 SuperHeroIdentifierService(ISuperHeroRepository repository) : base(repository)
 {
 }
示例#4
0
 public AddSuperHeroCommandHandler(ISuperHeroRepository superHeroRepository)
 {
     this.superHeroRepository = superHeroRepository;
 }
 public SuperHeroDbController(ISuperHeroRepository repo)
 {
     this.repo = repo;
 }
 public SuperHeroController()
 {
     _superHeroRepository = new SuperHeroRepository();
 }