示例#1
0
        public Comment GetCommentById(int Id)
        {
            try
            {
                CommentDAL repository = new CommentDAL();
                Comment    comment    = new Comment();

                return(comment = repository.GetCommentById(Id));
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
示例#2
0
 public Comment GetCommentById(int id)
 {
     return(CommentDAL.GetCommentById(id));
 }