// GET: api/Map/5 public IHttpActionResult Get(int id) { MapRepository mr = new MapRepository(); var map = mr.GetByContactId(id); return Json(map); }
// GET: api/Map/5 public IHttpActionResult Get(int id) { MapRepository mr = new MapRepository(); var map = mr.GetByContactId(id); return Json(map); }