public ActionResult SaveGPSPoint()
        {
            var context     = new EightHundredEntities();
            var franchiseId = GetFranchiseID();
            var userId      = GetUserID();

            context.AddTotbl_GPS_Tracks(new tbl_GPS_Tracks
            {
                FranchiseId = franchiseId,
                Lat         = float.Parse(Request.Form["Lat"].Replace('.', ',')),
                Lng         = float.Parse(Request.Form["Lng"].Replace('.', ',')),
                UserId      = userId,
                TimeRecord  = DateTime.Parse(Request.Form["TimeRecord"])
            });
            context.SaveChanges();
            return(Json(new { result = true }));
        }