public void Edit(Coach entity) { context.Entry(entity).State = EntityState.Modified; context.SaveChanges(); }