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