コード例 #1
0
 async public Task <CommentInfo> AddCommentAsync(CommentInfo item)
 {
     item.Goods_id = this.Id;
     return(await BLL.Comment.InsertAsync(item));
 }
コード例 #2
0
 public CommentInfo AddComment(CommentInfo item)
 {
     item.Goods_id = this.Id;
     return(BLL.Comment.Insert(item));
 }