And even for Repository better to avoid any static dependencies.
Sometimes it’s over-engineering or looks like that, but if you faced problem “oh, I cannot test this class without mocking static member” you definitely need some abstraction level or revamp of your architecture approach