Exemple #1
0
        public ActionResult <Hero> Get(int id)
        {
            var repository = new HeroRepository();
            var hero       = repository.FindById(id);

            return(Ok(hero));
        }