Пример #1
0
        SuperPowerfulFactory Factoria = new SuperPowerfulFactory();//no implementada en esta versión
        #endregion

        #region constructures
        public SuperPowersfulService(ISuperPowerRepository superPowerRepository, IVillianRepository villianRepository, IHeroRepository heroReposiory)
        {
            _superPowerRepository = superPowerRepository;
            _villianRepository    = villianRepository;
            _heroReposiory        = heroReposiory;
            _flagVillian          = ConfigApp.GetFlagForVillian();
        }
 public SuperPowerDbController(ISuperPowerRepository repo)
 {
     this.repo = repo;
 }
Пример #3
0
 public SuperPowerService(ISuperPowerRepository superPowerRepository)
 {
     _superPowerRepository = superPowerRepository;
 }