Ejemplo n.º 1
0
        private List <School> AllSchools()
        {
            List <School> allSchools = new List <School>();
            MSSQL         DB         = new MSSQL();

            allSchools = DB.FindAllSchools();
            DB.CloseConnection();
            return(allSchools);
        }
Ejemplo n.º 2
0
        private List <City> AllStreets()
        {
            MSSQL       DB         = new MSSQL();
            List <City> allStreets = new List <City>();

            allStreets = DB.GetAllStreets();
            DB.CloseConnection();
            return(allStreets);
        }