deleteInRepository method
This function delete the models with ids
from repositoryMap
! Not use this function outside the repositories
In the extended class, this function has to be called always for the models deleted from the database
Implementation
void deleteInRepository(List<Id> ids) {
for (Id id in ids) {
repositoryMap.remove(id);
}
}