✅ How to avoid creating same CRUD Commands/Queries for different entities | MediatR, ASP.NET
I’ve already tried that, but it didn’t work out because I had three generic parameters: class GetById<T, TDto, TId>; and I wasn’t able to register it in the DI.