示例#1
0
 private IEnumerable<DOTAHero> GetHeroes(string type)
 {
   var HM = new HeroManager();
   return HM.GetHeroesByType(type);
 }
示例#2
0
 // GET: /<controller>/
 public IActionResult Index()
 {
     HeroManager HM = new HeroManager();
       var heroes = HM.GetAll;
       return View(heroes);
 }