private Response GetHeroList()
 {
     Hero[] heroArr = heroes.GetHeroes();
     return(Response.AsJson <Hero[]>(heroArr));
 }
Exemple #2
0
 public Hero[] GetHeroList()
 {
     Hero[] heroArr = heroes.GetHeroes();
     return(heroArr);
 }