Exemplo n.º 1
0
        public McocImportController(IHeroeBusiness hBusiness, IAbilityBusiness abBusiness,
                                    IHashtagBusiness htBusiness, IHeroeHashtagBusiness hhtBusiness, IHeroeAbilityBusiness habBusiness, ILog logger)
        {
            _heroe        = hBusiness;
            _ability      = abBusiness;
            _hashtag      = htBusiness;
            _heroeHashtag = hhtBusiness;
            _heroeAbility = habBusiness;
            _logger       = logger;

            nvc = new Dictionary <string, int>
            {
                ["Cosmic"]  = Convert.ToInt32(enHeroeClass.Cosmic),
                ["Tech"]    = Convert.ToInt32(enHeroeClass.Tech),
                ["Mutant"]  = Convert.ToInt32(enHeroeClass.Mutant),
                ["Skill"]   = Convert.ToInt32(enHeroeClass.Skill),
                ["Science"] = Convert.ToInt32(enHeroeClass.Science),
                ["Mystic"]  = Convert.ToInt32(enHeroeClass.Mystic)
            };
        }
 public HeroeHashtagsController(IHeroeHashtagBusiness itemBusiness)
 {
     _business = itemBusiness;
 }