public HeroDataConverter()
        {
            agilityPackHelper = new AgilityPackHelper();
            HtmlDocument doc = new HtmlDocument();

            heroesName = GetHeroesName();

            foreach (var heroName in heroesName)
            {
                doc = LoadHeroHtmlPage(heroName);

                skillImages = GetSkillPortraits(doc);
                skillNames = GetSkillNames(doc);
                skillDescriptions = GetSkillDescriptions(doc);
                primaryStatsImages = GetPrimaryStatsImages(doc);
                primaryStatsValues = GetPrimaryStatsValues(doc);
                biography = GetBiography(doc).Trim() ;
                manaCostDictionary = GetManaCost(doc);
                coolDownList = GetCoolDown(doc);
                abilityCastType = GetAbilityCastType(doc);
                skillTargetAffectedType = GetSkillTargetAffectedType(doc);
                skillDamageType = GetSkillDamageType(doc);
                skillVideo = GetSkillVideo(doc);
                skillRemainingValues = GetSkillRemainingValues(doc);

                heroCreator.createHero(heroName, biography);                

                for (int i = 0; i < skillNames.Count; i++)
                {
                    heroCreator.createHeroSkill(skillNames[i], skillDescriptions[i], manaCostDictionary, coolDownList, abilityCastType[i],
                        skillTargetAffectedType[i], skillDamageType[i], skillVideo);
                }
            }
        }
        public HeroDataConverter()
        {
            heroesName = new List<string>();
            heroesUrl = new List<string>();
            skillImages = new List<string>();
            skillNames = new List<string>();
            skillDescriptions = new List<string>();
            
            primaryStatsImages = new List<string>();
            primaryStatsValues = new Dictionary<string, string>();
            manaCostDictionary = new List<KeyValuePair<string, string>>();
            coolDownList = new List<KeyValuePair<string, string>>();
            abilityCastType = new List<KeyValuePair<string, string>>();
            skillTargetAffectedType = new List<KeyValuePair<string, string>>();
            skillDamageType = new List<KeyValuePair<string, string>>();
            skillRemainingValues = new Dictionary<string, Dictionary<string, string>>();
            heroCreator = new HeroCreator();
            skillCreator = new SkillCreator();
            agilityPackHelper = new AgilityPackHelper();

            heroesName = GetHeroesName();

            foreach (var heroName in heroesName)
            {
                getDataFromHtml(heroName);                
                createSkillEffectName(heroName);
                //heroCreator.createHero(heroName, biography);
                //createSkill();
                //createPrimaryAttributes();
            }
        }
 public HeroesRepository()
 {
     var skillImages = new List<string>();
     var skillNames = new List<string>();
     var skillDescriptions = new List<string>();
     var primaryStatsImages = new List<string>();
     var primaryStatsValues = new List<string>();
     string biography;
     var manaCosts = new List<string>();
     var coolDowns = new List<string>();
     var skillBehaviours = new List<string>();
     var skillDamageType = new List<string>();
     var skillVideos = new List<string>();
     //TODO Armazenar quantidade de skills que o heroi tem
     agilityPackHelper = new AgilityPackHelper();
     // load snippet
     HtmlDocument doc = new HtmlDocument();
     doc = LoadHtmlSnippetFromFile();
    
     skillImages = GetSkillPortraits(doc);
     skillNames = GetSkillNames(doc);
     skillDescriptions = GetSkillDescriptions(doc);
     primaryStatsImages = GetPrimaryStatsImages(doc);
     primaryStatsValues = GetPrimaryStatsValues(doc);
     biography = GetBiography(doc);
     //TODO Stats(Atributos)
     manaCosts = GetManaCost(doc);
     coolDowns = GetCoolDown(doc);
     skillBehaviours = GetSkillBehaviour(doc);
     skillDamageType = GetSkillDamageType(doc);
     skillVideos = GetSkillVideo(doc);
 }
        public HeroDataConverter()
        {
            agilityPackHelper = new AgilityPackHelper();
            HtmlDocument doc = new HtmlDocument();
            heroesName = GetHeroesName();

            foreach (var heroName in heroesName)
            {
                doc = LoadHeroHtmlPage(heroName);

                
                skillImages = GetSkillPortraits(doc);
                skillNames = GetSkillNames(doc);
                skillDescriptions = GetSkillDescriptions(doc);
                primaryStatsImages = GetPrimaryStatsImages(doc);
                primaryStatsValues = GetPrimaryStatsValues(doc);
                biography = GetBiography(doc).Trim() ;
                manaCostList = GetManaCost(doc);
                coolDownList = GetCoolDown(doc);
                abilityCastType = GetAbilityCastType(doc);
                skillTargetAffectedType = GetSkillTargetAffectedType(doc);
                skillDamageType = GetSkillDamageType(doc);
                skillVideo = GetSkillVideo(doc);
                skillRemainingValues = GetSkillRemainingValues(doc);


                heroCreator.createHero(heroName, biography);                
                sCretor.createSkill(heroId, name, description, manaCostList, coolDownList, abilityCastType, targetAffectedType, damageType, videoUrl);
                )
            }


        }
        public HeroesRepository()
        {
            var skillImages = new List<string>();
            var skillNames = new List<string>();
            var skillDescriptions = new List<string>();
            var primaryStatsImages = new List<string>();
            var primaryStatsValues = new List<string>();
            string biography;
            var manaCosts = new List<string>();
            var coolDowns = new List<string>();
            var isSkillPassiveList = new List<bool>();

            agilityPackHelper = new AgilityPackHelper();
            // load snippet
            HtmlDocument doc = new HtmlDocument();
            doc = LoadHtmlSnippetFromFile();
           
            skillImages = GetSkillPortraits(doc);
            skillNames = GetSkillNames(doc);
            skillDescriptions = GetSkillDescriptions(doc);
            primaryStatsImages = GetPrimaryStatsImages(doc);
            primaryStatsValues = GetPrimaryStatsValues(doc);
            biography = GetBiography(doc);
            //TODO Stats(Atributos)
            manaCosts = GetManaCost(doc);
            coolDowns = GetCoolDown(doc);
            checkPassiveSkills(doc);
        }
        public HeroDataConverter()
        {
            agilityPackHelper = new AgilityPackHelper();
            HtmlDocument doc = new HtmlDocument();

            doc = LoadHtmlSnippetFromFile();

            skillImages = GetSkillPortraits(doc);
            skillNames = GetSkillNames(doc);
            skillDescriptions = GetSkillDescriptions(doc);
            primaryStatsImages = GetPrimaryStatsImages(doc);
            primaryStatsValues = GetPrimaryStatsValues(doc);
            biography = GetBiography(doc);            
            manaCostList = GetManaCost(doc);
            coolDownList = GetCoolDown(doc);
            abilityCastType = GetAbilityCastType(doc);
            skillTargetAffectedType = GetSkillTargetAffectedType(doc);
            skillDamageType = GetSkillDamageType(doc);            
            skillVideos = GetSkillVideo(doc);
            skillRemainingValues = GetSkillRemainingValues(doc);

            for (int i = 0; i < skillNames.Count; i++)
            {
                createSkill(skillNames[i], skillDescriptions[i], manaCostList, coolDownList, abilityCastType[i], skillTargetAffectedType[i], skillDamageType[i], skillVideos.First());
            }
        }
        public HeroDataConverter()
        {
            BaseRepositoryApi baseApi = new BaseRepositoryApi();
            baseApi.getHeroes();

            agilityPackHelper = new AgilityPackHelper();
            HtmlDocument doc = new HtmlDocument();

            doc = LoadHtmlSnippetFromFile();

            skillImages = GetSkillPortraits(doc);
            skillNames = GetSkillNames(doc);
            skillDescriptions = GetSkillDescriptions(doc);
            primaryStatsImages = GetPrimaryStatsImages(doc);
            primaryStatsValues = GetPrimaryStatsValues(doc);
            biography = GetBiography(doc);            
            manaCostList = GetManaCost(doc);
            coolDownList = GetCoolDown(doc);
            abilityCastType = GetAbilityCastType(doc);
            skillTargetAffectedType = GetSkillTargetAffectedType(doc);
            skillDamageType = GetSkillDamageType(doc);            
            skillVideo = GetSkillVideo(doc);
            skillRemainingValues = GetSkillRemainingValues(doc);

            heroCreator.createHero(name, biography);
            for (int i = 0; i < skillNames.Count; i++)
            {
                heroCreator.createHeroSkill(skillNames[i], skillDescriptions[i], manaCostList, coolDownList, abilityCastType[i],
                    skillTargetAffectedType[i], skillDamageType[i], skillVideo);
            }
        }
		public HeroDataConverter()
		{
			heroesNames = new List<string>();
			heroesUrl = new List<string>();
			skillImages = new List<string>();
			skillNames = new List<string>();
			skillDescriptions = new List<string>();
			skillRemainingValuesDescriptions = new List<string>();
			primaryStatsImages = new List<string>();
			primaryStatsValues = new Dictionary<string, string>();
			manaCostDictionary = new List<KeyValuePair<string, string>>();
			coolDownList = new List<KeyValuePair<string, string>>();
			abilityCastType = new List<KeyValuePair<string, string>>();
			skillTargetAffectedType = new List<KeyValuePair<string, string>>();
			skillDamageType = new List<KeyValuePair<string, string>>();
			skillRemainingValues = new Dictionary<Skill, Dictionary<string, string>>();
			heroCreator = new HeroCreator();
			skillCreator = new SkillCreator();
			agilityPackHelper = new AgilityPackHelper();

			heroesNames = GetHeroesName();

            for (int i = 0; i < heroesNames.Count; i++)
            {
                if (!isInsert)
                    currentHero = heroCreator.getHeroByName(heroesNames[i]);
                else
                    heroCreator.createHero(heroName, biography);



                getDataFromHtml(heroName);


                //createSkillEffectName(heroName);

                //createSkill();
                //createPrimaryAttributes();
            }

			foreach (var heroName in heroesNames)
			{
				
			}
		}
 public HeroDataConverter()
 {
     heroesName = new List<string>();
     heroesUrl = new List<string>();
     skillImages = new List<string>();
     skillNames = new List<string>();
     skillDescriptions = new List<string>();
     primaryStatsImages = new List<string>();
     primaryStatsValues = new Dictionary<string, string>();
     manaCostDictionary = new List<KeyValuePair<string, string>>();
     coolDownList = new List<KeyValuePair<string, string>>();
     abilityCastType = new List<KeyValuePair<string, string>>();
     skillTargetAffectedType = new List<KeyValuePair<string, string>>();
     skillDamageType = new List<KeyValuePair<string, string>>();
     skillRemainingValues = new List<List<string>>();
     heroCreator = new HeroCreator();
     skillCreator = new SkillCreator();
     agilityPackHelper = new AgilityPackHelper();            
 }
        public HeroDataConverter()
        {
            var skillImages = new List<string>();
            var skillNames = new List<string>();
            var skillDescriptions = new List<string>();
            var primaryStatsImages = new List<string>();
            var primaryStatsValues = new List<string>();
            string biography;
            var manaCostList = new List<string>();
            var coolDownList = new List<string>();
            var abilityCastType = new List<string>();
            var skillTargetAffectedType = new List<string>();
            var skillDamageType = new List<string>();
            var skillVideos = new List<string>();
            var skillRemainingValues = new List<List<string>>();
            //TODO Armazenar quantidade de skills que o heroi tem
            agilityPackHelper = new AgilityPackHelper();
            // load snippet
            HtmlDocument doc = new HtmlDocument();
            doc = LoadHtmlSnippetFromFile();

            skillImages = GetSkillPortraits(doc);
            skillNames = GetSkillNames(doc);
            skillDescriptions = GetSkillDescriptions(doc);
            primaryStatsImages = GetPrimaryStatsImages(doc);
            primaryStatsValues = GetPrimaryStatsValues(doc);
            biography = GetBiography(doc);
            //TODO Stats(Atributos)
            manaCostList = GetManaCost(doc);
            coolDownList = GetCoolDown(doc);
            abilityCastType = GetAbilityCastType(doc);
            skillDamageType = GetSkillDamageType(doc);
            skillTargetAffectedType = GetSkillTargetAffectedType(doc);
            skillVideos = GetSkillVideo(doc);
            skillRemainingValues = GetSkillRemainingValues(doc);

            //for (int i = 0; i < skillNames.Count; i++)
            //{
            //    createSkill(skillNames[i], skillDescriptions[i], manaCostList, coolDownList, abilityCastType, )
            //}
        }