I\'m writing some small asp.net core application with EF and I have a problem. I want server to do some work and than update database every 20 seconds. So I have some class with