Beispiel #1
0
        public static TestBarcodeMapping Create(int tenantId, Guid bookedPackageId, int barcodeId,
                                                Guid batchId, List <TestBarcodeDetails> testList)
        {
            var mapper = new TestBarcodeMapping
            {
                TenantId        = tenantId,
                BookedPackageId = bookedPackageId,
                BarCodeId       = barcodeId,
                BatchDetailsId  = batchId,
                TestBarcode     = testList
            };

            return(mapper);
        }
Beispiel #2
0
 public async Task AssignTestToBatch(TestBarcodeMapping barcodeMapper)
 {
     await _barcodeMapperRepository.InsertAsync(barcodeMapper);
 }