public ActionResult GetLastedLocation(int deviceID)
        {
            var user = (Users)Session["User"];

            if (user == null)
            {
                RedirectToAction("Login", "Home");
            }
            TrackData data = TrackDataService.GetLastedLocation(deviceID);

            return(Json(new { Result = data }, JsonRequestBehavior.AllowGet));
        }
Beispiel #2
0
        public ActionResult GetLastedLocation(int deviceID)
        {
            var data = TrackDataService.GetLastedLocation(deviceID);

            return(Json(new { Result = data }, JsonRequestBehavior.AllowGet));
        }