I suggested not usiing the normal repo because you are doing assumptions on the properties existing in your entity here (hardly swappable)