Closed adamfoneil closed 3 years ago
Turns out I don't really like how this works because you have to use additional generic args to call it. (You have to pass TUser
and TIdentity
so that the ext method is found.) This kind of defeats the syntactical elegance of. So, it's a bit preferable in the end to copy/paste the extension method manually.
For querying small tables (usually in order to fill dropdowns), I'm using an extension method in a couple projects. This is in cases where it's inconvenient to create a whole new query class. For this issue, please implement this extension method in the AspNetCore package so I don't have to copy/paste between projects.