public static PizzaOrderDetail MapToPizzaOrderDetail(PizzaOrderDetailDAO pizzaOrderDetail)
        {
            var pod = new PizzaOrderDetail();

            pod.PizzaOrderDetatilsID = pizzaOrderDetail.Id;
            pod.PizzaID = PizzaMapper.MapToPizza(pizzaOrderDetail.Pizza).PizzaID;
            pod.OrderID = PizzaOrderMapper.MapToPizzaOrder(pizzaOrderDetail.Order).OrderID;
            pod.Active  = pizzaOrderDetail.Active;

            return(pod);
        }
        public static PizzaOrderDetailDAO MapToPizzaOrderDetailDAO(PizzaOrderDetail pizzaOrderDetail)
        {
            var pod = new PizzaOrderDetailDAO();

            pod.Id     = pizzaOrderDetail.PizzaOrderDetatilsID;
            pod.Pizza  = PizzaMapper.MapToPizzaDAO(pizzaOrderDetail.Pizza);
            pod.Order  = PizzaOrderMapper.MapToPizzaOrderDAO(pizzaOrderDetail.PizzaOrder);
            pod.Active = pizzaOrderDetail.Active;

            return(pod);
        }