When you call context.Remove(entity) and SaveChanges(), the row is permanently deleted from the database. This causes several problems:
context.Remove(entity)
SaveChanges()