public async Task Update(Heroi heroi) { _context.Entry(heroi).State = EntityState.Modified; await _context.SaveChangesAsync(); }