public IHttpActionResult Post(SaveOrder saveOrder) { var activeOrderModal = new ActiveOrderModal(); var output = activeOrderModal.saveMoreItems(saveOrder); if (output) { return(Ok("Saved Items")); } else { return(Content(HttpStatusCode.NotFound, "Error Saveing Items")); } }
public SaveOrder Get(String tableid) { var activeOrderModal = new ActiveOrderModal(); return(activeOrderModal.getOrderDetails(tableid)); }