private void LoadOrders(string PatientMrn) { List <TestModel> tList = new List <TestModel>(); if (SelectedOrder != null) { tList = ConverterDataBase.toTestModel(servObj.LoadTestData(SelectedOrder.OrderNumber)); AllOrder = ConverterDataBase.toOrderModel(servObj.LoadOrderData(PatientMrn), tList.ToArray()); Orders = AllOrder; } else { AllOrder = ConverterDataBase.toOrderModel(servObj.LoadOrderData(PatientMrn)); Orders = AllOrder; } }
private void LoadOrderData() { OrderTestModel = ConverterDataBase.toOrderModel(servObj.LoadOrderDataByOrderNumber(SelectedTest.OrderNumber)).First(); }