Asp.net – How to return multiple possible types in C# .Net Core?
I'm building a WebApi with .Net Core. I was trying to implement a simple sign-up control logic in my DataAccess layer. Basically when a user sends a request to sign up my app, the service called "CheckCredentials" is going to…