// GET: Position/RandomPosition public JsonResult RandomPosition() { DAL_GPSPosition db = new DAL_GPSPosition(); Models.GPSPosition GPSList = db.RandomPosition(); return(Json(GPSList, JsonRequestBehavior.AllowGet)); }
// GET: Position/MoveChaser public JsonResult MoveChaser(int SecurityID, int EmergencyID) { DAL_GPSPosition db = new DAL_GPSPosition(); Models.GPSPosition GPSList = db.MovemoveChaser(SecurityID, EmergencyID); return(Json(GPSList, JsonRequestBehavior.AllowGet)); }