I use unit of work + repository with generic repository.
What about you? Which one is best to use?

I am not surprsied there is no comments or answers to this question. There is only one answer to this question:
It depends.
Why would I use uow + repository if I am using EF? Well it really really depends on a lot of thing.
Should I use DDD? Well it depends.
Do I need to use MediatR in my application? Well… it depends.
You see? There is no definitive answer to that. You have to use patterns that makes sense in your specific application. Is it a long term thing? How complex is the domain? How many people will work on the project? How much money do you have? How much time do you have to finish the project? And a lot of other things to consider…
C# devs
null reference exceptions

source