public bool Add(RestaurantOrderApiModel restaurantOrdermodel) { order = new RestaurantOrder { EmployeeID = restaurantOrdermodel.EmployeeID, CustomerID = restaurantOrdermodel.CustomerID, OrderID = restaurantOrdermodel.OrderID, OrderDate = restaurantOrdermodel.OrderDate, OrderType = restaurantOrdermodel.OrderType, ReataurantOrderDetailModel = restaurantOrdermodel.ReataurantOrderDetail, Qty = restaurantOrdermodel.Qty, ItemId = restaurantOrdermodel.ItemId, OrderTypeID = restaurantOrdermodel.OrderTypeID }; return(restaurantOrder.RecordRestaurantOrder(order)); }
public Order FindById(RestaurantOrderApiModel restaurantOrdermodel) { return(restaurantOrder.FindById(order.OrderID)); }
public bool RemoveRestaurantOrder(RestaurantOrderApiModel restaurantOrdermodel) { return(restaurantOrder.RemoveRestaurantOrder(order)); // throw new NotImplementedException(); }