Use existing DbContext of a Webapplication in ConsoleApp : <p>I've finished programming my asp.net Core Webapplication.
Additionaly I would like to add a console app to my solution which should handle some cronjobs.</p>

<p>Unfortunately I got absolutely stuck on how to use my DbContext-Class from the Webapplication in the console app.
I've added the reference and can now access the namespaces.</p>

<p>But how do I access my DbContext in the console app an be able to reuse it in additional classes?</p>

<p>Thanks to all for your hints.
Patrick</p>
