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