Ejemplo n.º 1
0
 public Model.Order ParseOrder(Entity.Order order)
 {
     return(new Model.Order {
         CustomerID = (int)order.CustId,
         OrderID = (int)order.Id,
         LocationID = (int)order.LocId
     });
     // throw new NotImplementedException();
 }
Ejemplo n.º 2
0
 public Model.Order ParseOrder(Entity.Order order)
 {
     return(new Model.Order {
         CustomerID = (int)order.CustId,
         OrderID = (int)order.Id,
         LocationID = (int)order.LocId,
         Date = order.Date
     });
 }