public JsonResult SetOrder(string data)
        {
            try
            {
                FacadeLog.MobileWriteEntry("Order/SetOrder|" + data);

                ModelViewODSMovilUploadList dataODS = new JavaScriptSerializer().Deserialize <ModelViewODSMovilUploadList>(data);
                var ordens = FacadeOrder.Complete(dataODS);

                ModelViewResultREST result = new ModelViewResultREST();
                result.Result = "Success" + "|" + ordens;
                return(Json(result));
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
        public JsonResult SetPreOrder(string data)
        {
            try
            {
                FacadeLog.MobileWriteEntry("Order/SetPreOrder|" + data);

                ModelViewPreODS dataODS = new JavaScriptSerializer().Deserialize <ModelViewPreODS>(data);
                FacadeOrder.Complete(dataODS);

                ModelViewResultREST result = new ModelViewResultREST();
                result.Result = "Success";

                return(Json(result));
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }