Exemplo n.º 1
0
        public List <CommentsDTO> ViewComments(int eventId)
        {
            ICommentsBDC commentsBDC = (ICommentsBDC)BDCFactory.Instance.Create(BDCType.CommentsBDC);

            return(commentsBDC.ViewComments(eventId));
        }
Exemplo n.º 2
0
        public OperationResult <CommentsDTO> AddComment(CommentsDTO commentsDTO)
        {
            ICommentsBDC commentsBDC = (ICommentsBDC)BDCFactory.Instance.Create(BDCType.CommentsBDC);

            return(commentsBDC.AddComment(commentsDTO));
        }