You can in your Startup.cs add it to your HostedService like this : services.AddHostedService (serviceProvider => new StatusService( TimeSpan.FromDays(1), ...
確定! 回上一頁