✅ How to return null in a generalized method?
So I've got this general method that is being used in a lot of functions that I'm using to return a database call through API calls, and I've got this method for it:
However I apparently can't return null on this type
However I apparently can't return null on this type
T? is there any way I can still return null here? Should I make Task<object> instead?