Created
March 15, 2018 09:23
-
-
Save deanhume/ca2c721803e1f889c293651f4a96149a to your computer and use it in GitHub Desktop.
GetMarkers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public ActionResult GetMarkers() | |
{ | |
// This would normally be our call to the Db, | |
// else we could populate this | |
// with some data as Ive done here. | |
MarkerList markers = GetMarkersObjects(); | |
return Json(markers, JsonRequestBehavior.AllowGet); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment