Ejemplo n.º 1
0
        public static string GetUrlSummonerImageByKey(int key)
        {
            var sq    = new SoloQServices();
            var spell = sq.GetSummonersByIdKey(key).Image.full;

            return(spell);
        }
Ejemplo n.º 2
0
        public static string GetUrlImgRune(int keyStyle, int keyRune)
        {
            var sq       = new SoloQServices();
            var allRune  = sq.GetRunes();
            var runeTree = allRune.slots.Where(x => x.id == keyStyle).FirstOrDefault();
            var icon     = runeTree.runes.Where(x => x.id == keyRune).FirstOrDefault().icon;
            var url      = ConfigurationManager.AppSettings["UrlImgRunes"] + icon;

            return(url);
        }