Esempio n. 1
0
        private static async Task MainAsync()
        {
            var itemsToInsert = Services.PutDataPublisherAsync(nameFileXLS, TypeFile.xlsm); // TypeFile Takes the file with extension inputed
            int index         = 0;

            if (itemsToInsert.Result.Count >= 0)
            {
                foreach (var group in itemsToInsert.Result)
                {
                    bool insertInPDF = insertToPDF(group);
                    index += 1;
                }
            }
            AddInfoLog($"Data has been assigned in PDF format: TOTAL Groups = {index-1} \n Publishers Update ", TypeMessageEnum.Info);
        }