public static async Task <PDFCreateResult> Create(MemberListPDFModel model)
        {
            var document = new Document();

            Styles.Define(document);

            var section = CreateDocumentSection(document);

            CreateDocumentTable(section, model);

            return(await PDFBlobHelper.AddPdfAsync(document));
        }
        public static async Task <PDFCreateResult> Create(TripPDFModel model)
        {
            var document = new Document();

            Styles.Define(document);

            var headerResult = CreateHeader(model, document);

            CreateInfoListing(model, headerResult.Item2);
            CreateMemberList(model, document);

            var result = await PDFBlobHelper.AddPdfAsync(document);

            if (headerResult.Item1 != null)
            {
                File.Delete(headerResult.Item1);
            }

            return(result);
        }