I am developing a web application with a REST Api using C# with asp.net core 2.0
What I want to achieve is when the client send a request to an endpoint I will run a
If you are trying to create a fire & forget task like logging to db and don't want to lose dbcontext object, I have an easy way for you to implement and answered here in detail.