public System.Data.DataTable Test() { // Random rng = new Random(); ArrayList myRecipes = new ArrayList(); using (Leaf.Datalayers.Patient.DataLayer dl = new Leaf.Datalayers.Patient.DataLayer(_config)) { return(dl.GetPatients("1")); } }
public System.Data.DataTable Get() { // Random rng = new Random(); ArrayList myRecipes = new ArrayList(); using (Leaf.Datalayers.Patient.DataLayer dl = new Leaf.Datalayers.Patient.DataLayer((Leaf.Data.ConnectionDB.CENTER)Enum.Parse(typeof(Leaf.Data.ConnectionDB.CENTER), "LEAF_PRE"))) { return(dl.GetRecipes("user")); } }