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) }; }
/* Injeção de uma instancia de IMccAbilityBusiness ao criar * uma instancia de Controller */ public AbilitysController(IAbilityBusiness itemBusiness) { _business = itemBusiness; }