Exemplo n.º 1
0
        public void GetMedicineList()
        {
            medicineStockList = aCenterManager.GetAllMedicineByCenterID(newCenter);

            foreach (CenterMedicineStock medicine in medicineStockList)
            {
                Medicine newMedicine = new Medicine();
                newMedicine.ID           = medicine.MedicineID;
                newMedicine.MedicineName = aCenterManager.GetMedicineInfo(medicine.MedicineID);
                newMedicineList.Add(newMedicine);
            }
        }