Example #1
0
 public IHttpActionResult GetPresentersList(int?sessionId, int?specialSessionId)
 {
     try
     {
         var           model      = _bll.GetPresentersList(sessionId, specialSessionId);
         PdfController controller = PdfHelper.Setup("GetPresentersList");
         return(Ok(new ByteArray()
         {
             Content = controller.GetPresentersList(model)
         }));
     }
     catch
     {
         return(InternalServerError());
     }
 }