Esempio n. 1
0
 public Medication(string name, string company, MedicationCategory category)
 {
     Med                = name;
     Company            = company;
     MedicationContent  = new List <DosageOfIngredient>();
     MedicationCategory = category;
     Status             = MedStatus.Validation;
 }
Esempio n. 2
0
 public void UpdateMedication(Medication medication)
 {
     Id                 = medication.Id;
     Med                = medication.Med;
     Status             = medication.Status;
     Company            = medication.Company;
     Quantity           = medication.Quantity;
     Dosage             = medication.Dosage;
     MedicationContent  = medication.MedicationContent;
     MedicationCategory = medication.MedicationCategory;
 }