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