예제 #1
0
 public static void AddNewOrderItem(this StoreOrder storeOrder, CartItemViewModel model, DunkeyContext ctx)
 {
     try
     {
         Order_Items orderItem = new Order_Items();
         orderItem.SetOrderItem(model, ctx);
         storeOrder.Order_Items.Add(orderItem);
     }
     catch (Exception ex)
     {
         DunkeyDelivery.Utility.LogError(ex);
     }
 }
예제 #2
0
 public static void AddNewOrderItem(this StoreOrder storeOrder, CartItemViewModel model)
 {
     try
     {
         Order_Items orderItem = new Order_Items();
         orderItem.SetOrderItem(model);
         storeOrder.Order_Items.Add(orderItem);
     }
     catch (Exception)
     {
         throw;
     }
 }