internal void AddIngredient(ActiveIngredient ingredientToAdd) { try { bl.AddActiveIngredient(ingredientToAdd); } catch (ArgumentException) { throw; } catch (Exception ex) { throw; } }
public void AddDrugToDb() { try { Ingredients.ForEach(i => bl.AddActiveIngredient(i)); bl.AddDrug(Drug); } catch (ArgumentException) { throw; } catch (Exception ex) { throw; } }