示例#1
0
        public ActionResult GenerateAgendaPDF()
        {
            PDFService pdf = new PDFService();
            pdf.GenerateAgendaPDF();

            return RedirectToAction("AttendeeAgenda", "Scheduler");
        }
示例#2
0
        public string ProcessImportArtistData(string username, string password)
        {
            string result = "";

            result = ImportArtistDataFromService(username, password);
            if (!string.IsNullOrEmpty(result))
            {
                return result;
            }

            result = InsertOrUpdateArtistInDb();
            if (!string.IsNullOrEmpty(result))
            {
                return result;
            }

            //ConvertToKeyDisplayMapping();

            PDFService pdf = new PDFService();
            pdf.GenerateAgendaPDF();
            result = string.Format("Processed {0} records success.", recordCount);
            return result;
        }