public void AddDrugToDb()
 {
     try
     {
         Ingredients.ForEach(i => bl.AddActiveIngredient(i));
         bl.AddDrug(Drug);
     }
     catch (ArgumentException) { throw; }
     catch (Exception ex) { throw; }
 }
Esempio n. 2
0
 public void AddDrug(BE.Entities.Drug drug)
 {
     BLObj.AddDrug(drug);
 }