public decimal GetTotalForOrderMeals(int orderID) { try { return(OrderMealManager.GetTotalForOrder(orderID)); } catch { return(0m); } }
public int InsertOrderMeal(int orderID, int mealID, int quantity, decimal price) { try { return(OrderMealManager.InsertOrderMeal(orderID, mealID, quantity, price)); } catch { return(0); } }
public int DeleteOrderMeal(int orderMealID) { try { return(OrderMealManager.DeleteOrderMeal(orderMealID)); } catch { return(0); } }
public List <OrderMeal> GetMealsForOrder(int orderID) { try { return(OrderMealManager.GetMealsForOrder(orderID)); } catch { return(new List <OrderMeal>()); } }