There are literally hundreds of examples online and MS documentation has full examples of all of this as well. Trying to put all that code in a forum post is unrealistic. Just use the many, many examples online.
EF, Oracle and Database First
ASP.NET Core, EF and REST APIs
ASP.NET Core Authentication
REST Authentication with JWT