Example #1
0
 public CommentDTO getCommentFromId(int id)
 {
     try
     {
         return(HelperBll.convertComment(this._filmManager.getCommentFromId(id)));
     }
     catch (Exception)
     {
         return(null);
     }
 }
Example #2
0
 public void DeleteComment(CommentDTO commentDto)
 {
     try
     {
         this._filmManager.DeleteComment(HelperBll.convertComment(commentDto));
     }
     catch (Exception e)
     {
         Console.WriteLine(e);
         throw;
     }
 }
Example #3
0
 public int InsertComment(CommentDTO commentDto)
 {
     try
     {
         return(this._filmManager.InsertComment(HelperBll.convertComment(commentDto)));
     }
     catch (Exception e)
     {
         Console.WriteLine(e);
         throw;
     }
 }