Example #1
0
        public IActionResult GetHeroByName(string name)
        {
            var superHero = _repo.GetHeroByName(name);

            return(View(superHero));
        }
Example #2
0
 public SuperHero GetHeroByName(string alias)
 {
     return(repo.GetHeroByName(alias));
 }
Example #3
0
 public SuperHero GetHeroByName(string name)
 {
     return(repo.GetHeroByName(name));
 }