Esempio n. 1
0
 public IHttpActionResult GetConferenceSchedule(int accountId, int conferenceId)
 {
     try
     {
         var           model      = _bll.GetConferenceSchedule(accountId, conferenceId);
         PdfController controller = PdfHelper.Setup("GetSchedule");
         return(Ok(new ByteArray()
         {
             Content = controller.GetSchedule(model)
         }));
     }
     catch
     {
         return(InternalServerError());
     }
 }