If an entity implements IDeleted, then when calling Delete, the IsDeleted field of the entity is simply set to false in the database. However, when calling DeleteRange, the record is completely removed from the database, even if the entity implements IDeleted. The same issue applies to IRepository