public JsonResult InsertOrder(Order order, int num) { Order o = new Order(); var orderBL = new OrderBusinessLogic(new OrderDataAccess()); var datos = Json(orderBL.InsertOrder(order)); return(datos); }