public List <Medicine> GetMedicines() { var query = SqlQueryGeneration.GetAllMedicinesByIngredientId(((IEntity)this).EntityId); var medicines = new SqlExecuteManager().GetMedicine(query); return(medicines); }
public List <Medicine> GetMedicines() { var query = SqlQueryGeneration.GetAllMedicinesByIngredientId(this.Id); return(new SqlExecuteManager().GetMedicine(query)); }