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); }
public async Task AssignTestToBatch(TestBarcodeMapping barcodeMapper) { await _barcodeMapperRepository.InsertAsync(barcodeMapper); }