public JsonResult GetShopPlace(string value)
        {
            try
            {
                ModelViewUserG objCred = new JavaScriptSerializer().Deserialize <ModelViewUserG>(value);

                if (!objCred.Date.HasValue)
                {
                    FacadeLog.MobileWriteEntry("Order/GetShopPlace|FirstSync|" + value);

                    var detail = new List <ModelViewDetail>();
                    detail.Add(new ModelViewDetail()
                    {
                        Battery        = "--",
                        ConnectionType = "--",
                        Date           = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"),
                        InnerException = "--",
                        Message        = "Primera sincronización",
                        Module         = "app.activities.SynchronizationActivity",
                        OrderID        = "--",
                        SignPercentage = "--",
                        SignType       = "--",
                        StackTrace     = "--",
                        TokenLog       = "",
                        Type           = "Information",
                        version        = "--"
                    });

                    ModelViewLog dataODS = new ModelViewLog()
                    {
                        TokenApp  = objCred.TokenApp,
                        TokenUser = objCred.TokenUser,
                        Detail    = detail
                    };
                    var token = FacadeLogMobile.Insert(dataODS);
                }

                var lt = FacadeShopPlace.GetListShopPlace(objCred);
                return(Json(lt, JsonRequestBehavior.AllowGet));
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
        public JsonResult SetLogMobile(string data)
        {
            try
            {
                FacadeLog.MobileWriteEntry("Order/SetLogMobile|" + data);

                ModelViewLog dataODS = new JavaScriptSerializer().Deserialize <ModelViewLog>(data);
                var          token   = FacadeLogMobile.Insert(dataODS);

                ModelViewResultREST result = new ModelViewResultREST();
                result.Result = "Success" + "|" + token;
                return(Json(result));
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }