public void DelBatchDetail(WarehouseBatchDetail warehouseBatchDetail) { try { _warehouseBatchDetail.Delete(warehouseBatchDetail); } catch (AisinoMesServiceException ex) { throw ex; } }
public WarehouseBatchDetail UpdateBatchDetail(WarehouseBatchDetail updateBatchDetail) { WarehouseBatchDetail returnBatchDetail = null; try { _warehouseBatchDetail.Update(updateBatchDetail); returnBatchDetail = updateBatchDetail; } catch (RepositoryException ex) { throw ex; } return(returnBatchDetail); }
public WarehouseBatchDetail AddBatchDetail(WarehouseBatchDetail newBatchDetail) { WarehouseBatchDetail returnBatchDetail = null; try { _warehouseBatchDetail.Add(newBatchDetail); returnBatchDetail = newBatchDetail; } catch (RepositoryException ex) { throw ex; } return(returnBatchDetail); }