/// <summary> /// Initializes a new instance of the <see cref="CompanyCommunicatorCleanUpFunction"/> class. /// </summary> /// <param name="exportDataRepository">The export data repository.</param> /// <param name="blobContainerClient">The Azure Blob storage container client.</param> /// <param name="fileCardService">The service to manage the file card.</param> /// <param name="cleanUpFileOptions">The options to clean up file.</param> public CompanyCommunicatorCleanUpFunction( ExportDataRepository exportDataRepository, BlobContainerClient blobContainerClient, IFileCardService fileCardService, IOptions <CleanUpFileOptions> cleanUpFileOptions) { this.exportDataRepository = exportDataRepository; this.fileCardService = fileCardService; this.blobContainerClient = blobContainerClient; this.cleanUpFileOlderThanDays = int.Parse(cleanUpFileOptions.Value.CleanUpFile); }
public FileCardController(IErrorService errorService, IFileCardService FileCardService) : base(errorService) { _FileCardService = FileCardService; }