public ActionResult GenerateAgendaPDF() { PDFService pdf = new PDFService(); pdf.GenerateAgendaPDF(); return RedirectToAction("AttendeeAgenda", "Scheduler"); }
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; }