using TaskScheduler, I create tasks that will be executed on a schedule. The problem is that tasks must be addressed to the database, and when I inject a class to work with