예제 #1
0
        public Order GetOrderById(int id)
        {
            DAL.Entity.Order order       = _dal.GetOrderById(id);
            BLL.Models.Order orderResult = null;

            orderResult = new BLL.Models.Order
            {
                Id         = order.Id,
                ClientId   = order.ClientId,
                PeymentId  = order.PeymentId,
                DeliveryId = order.DeliveryId,
                Comment    = order.Comment
            };
            return(orderResult);
        }