Ejemplo n.º 1
0
        public static void Add(DTO.OrderComment model, int productNum)
        {
            var info = model.Map <Himall.Entities.OrderCommentInfo>();

            _tradeCommentService.AddOrderComment(info, productNum);
            model.Id = info.Id;
        }
        public static void Add(DTO.OrderComment model)
        {
            var info = model.Map <Model.OrderCommentInfo>();

            _tradeCommentService.AddOrderComment(info);
            model.Id = info.Id;
        }