/// <summary> /// 插入文章表示综合体 /// </summary> /// <param name="Newcommentbody"></param> /// <returns>序列号</returns> public static string InsertCommentBody(CommentBody NewCommentBody) { return(MongoDbRepository.InsertRec(NewCommentBody)); }
/// <summary> /// 删除文章表示综合体 /// </summary> /// <param name="DropCommentBody"></param> public static void DropCommentBody(CommentBody DropCommentBody) { MongoDbRepository.DeleteRec(DropCommentBody); }
/// <summary> /// 修改文章表示综合体 /// </summary> /// <param name="OldCommentBody"></param> public static void UpdateCommentBody(CommentBody OldCommentBody) { MongoDbRepository.UpdateRec(OldCommentBody); }