public void Update <T>(T Entity) where T : class
 {
     _context.Update(Entity);
 }
 /// <summary>
 /// Metodo para Atualizar o heroí na base de Dados
 /// </summary>
 /// <param name="hero"></param>
 /// <returns></returns>
 public void Update(Hero hero)
 {
     _context.Update(hero);
 }
 public void Update <T>(T entity) where T : class
 {
     _heroContext.Update(entity);
     _heroContext.Entry <T>(entity).State = EntityState.Modified;
 }