Ejemplo n.º 1
0
        public void SaveOrderGradeSize(OrderGradeSizeDTO orderGradeSizeDTO)
        {
            var orderGradeSize = new OrderGradeSize()
            {
                OrderId   = orderGradeSizeDTO.OrderId,
                GradeId   = orderGradeSizeDTO.GradeId,
                SizeId    = orderGradeSizeDTO.SizeId,
                Quantity  = orderGradeSizeDTO.Quantity,
                TimeStamp = DateTime.Now
            };

            this.UnitOfWork.Get <OrderGradeSize>().AddNew(orderGradeSize);
            this.UnitOfWork.SaveChanges();
        }
Ejemplo n.º 2
0
 void SaveOrderGradeSize(OrderGradeSizeDTO orderGradeSizeDTO)
 {
     _dataService.SaveOrderGradeSize(orderGradeSizeDTO);
 }