public async Task <Hero> Put(string id, [FromBody] Hero hero) { var h = await heroRepository.update(id, hero); return(h); }