// GET: api/heroes
 public IHttpActionResult Get()
 {
     Hero[] heroes = _heroesRepo.GetAllHeroes();
     return(Ok(heroes));
 }
        public async Task <IEnumerable <HeroDto> > GetAllHeroes()
        {
            var heroes = await _repo.GetAllHeroes();

            return(heroes);
        }