added automatic deletion of polls

This commit is contained in:
Sarah Faey 2023-02-13 23:12:05 +01:00
parent b6dd3ff9c4
commit ac3cc69b68
7 changed files with 846 additions and 7 deletions

View file

@ -73,6 +73,10 @@ namespace Lieb.Data
scope.ServiceProvider
.GetRequiredService<UserService>();
await userService.DeleteInactiveUsers();
var pollService =
scope.ServiceProvider
.GetRequiredService<PollService>();
await pollService.DeleteAutoPolls();
}
}