예제 #1
0
        public List <CommentsDTO> ViewComments(int eventId)
        {
            ICommentsBDC commentsBDC = (ICommentsBDC)BDCFactory.Instance.Create(BDCType.CommentsBDC);

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

            return(commentsBDC.AddComment(commentsDTO));
        }