Exemplo n.º 1
0
        /***************************
         * Order Convert
         * *************************/
        public static order toOrder(Panier uneOrder)
        {
            order uneOrderData = new order()
            {
                cottoncandy = uneOrder.QCottonCandy,
                creamegg = uneOrder.QCreamEgg,
                jawbreaker = uneOrder.QJawbreaker,
                redvinelicornes = uneOrder.QRedvinesLicornes,
                Skittles = uneOrder.QSkittles,
                sugardaddy = uneOrder.QSugarDaddy
            };

            return uneOrderData;
        }
Exemplo n.º 2
0
        public static Panier toOrderBusiness(order uneOrder)
        {
            Panier uneOrderBusiness = new Panier()
            {
                QCottonCandy  = uneOrder.cottoncandy,
                QCreamEgg = uneOrder.creamegg,
                QJawbreaker = uneOrder.jawbreaker,
                QRedvinesLicornes = uneOrder.redvinelicornes,
                QSkittles = uneOrder.Skittles,
                QSugarDaddy = uneOrder.sugardaddy
            };

            return uneOrderBusiness;
        }
Exemplo n.º 3
0
        public static Panier toOrderBusiness(order uneOrder)
        {
            Panier uneOrderBusiness = new Panier()
            {
                QCottonCandy      = uneOrder.cottoncandy,
                QCreamEgg         = uneOrder.creamegg,
                QJawbreaker       = uneOrder.jawbreaker,
                QRedvinesLicornes = uneOrder.redvinelicornes,
                QSkittles         = uneOrder.Skittles,
                QSugarDaddy       = uneOrder.sugardaddy
            };

            return(uneOrderBusiness);
        }
Exemplo n.º 4
0
        /***************************
        * Order Convert
        * *************************/


        public static order toOrder(Panier uneOrder)
        {
            order uneOrderData = new order()
            {
                cottoncandy     = uneOrder.QCottonCandy,
                creamegg        = uneOrder.QCreamEgg,
                jawbreaker      = uneOrder.QJawbreaker,
                redvinelicornes = uneOrder.QRedvinesLicornes,
                Skittles        = uneOrder.QSkittles,
                sugardaddy      = uneOrder.QSugarDaddy
            };

            return(uneOrderData);
        }
 public bool setOrder(userBusiness unUser, Panier uneOrder)
 {
     return monData.setOrder(convertBusiness.toUser(unUser), convertBusiness.toOrder(uneOrder));
 }
 public bool setOrder(userBusiness unUser, Panier uneOrder)
 {
     return(monData.setOrder(convertBusiness.toUser(unUser), convertBusiness.toOrder(uneOrder)));
 }
Exemplo n.º 7
0
 public bool setOrder(userBusiness unUser, Panier uneOrder)
 {
     return monControlleur.setOrder(unUser, uneOrder);
 }