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();
 }
Example #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
     });
 }