Пример #1
0
        public void Get_All_Spaces_Test()
        {
            SpaceSqlDAL getAllSpaces = new SpaceSqlDAL(ConnectionString);

            List <Space> spaceList = (List <Space>)getAllSpaces.GetSpaceDetails(id);

            Assert.IsNotNull(spaceList);
        }
Пример #2
0
        public UserInterface(string connectionString)
        {
            this.spaceDAL       = new SpaceSqlDAL(connectionString);
            this.venueDAL       = new VenueSqlDAL(connectionString);
            this.categoryDAL    = new CategorySqlDAL(connectionString);
            this.reservationDAL = new ReservationSqlDAL(connectionString);

            this.cityDAL = new CitySqlDAL(connectionString);
        }