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