public List <CommentsDTO> ViewComments(int eventId) { ICommentsBDC commentsBDC = (ICommentsBDC)BDCFactory.Instance.Create(BDCType.CommentsBDC); return(commentsBDC.ViewComments(eventId)); }
public OperationResult <CommentsDTO> AddComment(CommentsDTO commentsDTO) { ICommentsBDC commentsBDC = (ICommentsBDC)BDCFactory.Instance.Create(BDCType.CommentsBDC); return(commentsBDC.AddComment(commentsDTO)); }