public async Task DeleteLogsOlderThanDays(int days) { var date = DateTime.UtcNow.AddDays(-days); await _repository.DeleteLogsOlderBeforeDate(date); }
public async Task DeleteLogsOlderThanDays(int days) { var date = DateTime.UtcNow.AddDays(-days); await _repository.DeleteLogsOlderBeforeDate(date); }