public OrderDetail AgregarOrderDetail(OrderDetail orderdetail)
        {
            //return db.Create(orderdetail);
            OrderDetail result         = default(OrderDetail);
            var         orderdetailDAC = new OrderDetailDAC();

            result = orderdetailDAC.Create(orderdetail);
            return(result);
        }
예제 #2
0
        /// <summary>
        /// Add method.
        /// </summary>
        /// <param name="orderDetail"></param>
        /// <returns></returns>
        public OrderDetail Add(OrderDetail orderDetail)
        {
            var orderDetailDac = new OrderDetailDAC();

            return(orderDetailDac.Create(orderDetail));
        }