public string GetObject() { var mapCoordinates = _mapRepository.GetObjectTbl(); return(new JavaScriptSerializer().Serialize(mapCoordinates)); }