public List <PositionObstacle> SelectAll()
        {
            List <PositionObstacle> uneListePositionObstacle = new List <PositionObstacle>();
            DataTable uneDataTable = _DBAL.SelectAll("PositionObstacle");

            foreach (DataRow dtr in uneDataTable.Rows)
            {
                PositionObstacle unePositionObstacle = new PositionObstacle((int)dtr["idPositionObstacle"], (string)dtr["nomObstacle"], (int)dtr["idReservation"], (int)dtr["positionObstacle"]);
                uneListePositionObstacle.Add(unePositionObstacle);
            }
            return(uneListePositionObstacle);
        }
        public List <Reservation> SelectAll()
        {
            List <Reservation> uneListeReservation = new List <Reservation>();
            DataTable          uneDataTable        = _DBAL.SelectAll("Reservation");

            foreach (DataRow dtr in uneDataTable.Rows)
            {
                Reservation uneReservation = new Reservation((int)dtr["idReservation"], (int)dtr["idClient"], (int)dtr["idSalle"], (int)dtr["idTransaction"], (DateTime)dtr["dateReservation"], (int)dtr["nbJoueurs"], (int)dtr["nbObstacles"]);
                uneListeReservation.Add(uneReservation);
            }
            return(uneListeReservation);
        }
        public List <Obstacle> SelectAll()
        {
            List <Obstacle> uneListeObstacle = new List <Obstacle>();
            DataTable       uneDataTable     = _DBAL.SelectAll("Obstacle");

            foreach (DataRow dtr in uneDataTable.Rows)
            {
                Obstacle unObstacle = new Obstacle((string)dtr["nom"], (string)dtr["UneDefinition"], (string)dtr["Photo"], (string)dtr["typeObstacle"]);
                uneListeObstacle.Add(unObstacle);
            }
            return(uneListeObstacle);
        }