public ReplyCommentByUser ( System.Guid ComID, Comment comment ) : bool | ||
ComID | System.Guid | |
comment | Comment | |
return | bool |
public bool ReplyCommentByUser(Guid ComID, Comment comment)
{
comment.State = 1;
comment.Type = 2;
if (commentHandler.AddComment(comment))
return commentHandler.AddNextComID(ComID, comment.ComID);
return false;
}