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