public void SaveBatchGradeSize(BatchGradeSizeDTO batchGradeSizeDTO) { var batchGradeSize = new BatchGradeSize() { BatchOutPutId = batchGradeSizeDTO.BatchOutPutId, GradeId = batchGradeSizeDTO.GradeId, SizeId = batchGradeSizeDTO.SizeId, Quantity = batchGradeSizeDTO.Quantity, TimeStamp = DateTime.Now }; this.UnitOfWork.Get <BatchGradeSize>().AddNew(batchGradeSize); this.UnitOfWork.SaveChanges(); }
void SaveBatchGradeSize(BatchGradeSizeDTO batchGradeSizeDTO) { _dataService.SaveBatchGradeSize(batchGradeSizeDTO); }