From de59cb5f852b6488864de18611c23d9eda92123e Mon Sep 17 00:00:00 2001 From: Olga Nemt Date: Fri, 10 Nov 2023 10:11:57 +0500 Subject: [PATCH] =?UTF-8?q?=D0=9A=D0=BE=D0=BC=D0=BC=D0=B5=D0=BD=D1=82?= =?UTF-8?q?=D0=B0=D1=80=D0=B8=D0=B8=20=D0=BA=20=D0=BA=D0=BB=D0=B0=D1=81?= =?UTF-8?q?=D1=81=D1=83=20WorkToDeleteOldReports?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Background/WorkToDeleteOldReports.cs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/AsbCloudInfrastructure/Background/WorkToDeleteOldReports.cs b/AsbCloudInfrastructure/Background/WorkToDeleteOldReports.cs index 8dc0f422..0208dd14 100644 --- a/AsbCloudInfrastructure/Background/WorkToDeleteOldReports.cs +++ b/AsbCloudInfrastructure/Background/WorkToDeleteOldReports.cs @@ -6,6 +6,9 @@ using System.Threading.Tasks; namespace AsbCloudInfrastructure.Background { + /// + /// Задача по удалению загруженных отчетов + /// public class WorkToDeleteOldReports : Work { public WorkToDeleteOldReports() @@ -14,6 +17,14 @@ namespace AsbCloudInfrastructure.Background Timeout = TimeSpan.FromMinutes(10); } + /// + /// Удаление отчетов, загруженных ранее 30 дней от текущей даты + /// + /// + /// + /// + /// + /// protected override async Task Action(string id, IServiceProvider services, Action onProgressCallback, CancellationToken token) { var reportService = services.GetRequiredService();