async public Task <CommentInfo> AddCommentAsync(CommentInfo item) { item.Goods_id = this.Id; return(await BLL.Comment.InsertAsync(item)); }
public CommentInfo AddComment(CommentInfo item) { item.Goods_id = this.Id; return(BLL.Comment.Insert(item)); }