Geo IFeatureService.Get() { return(new Geo() { Type = "FeatureCollection", Features = stadiumRepository.Get().Select(x => new Feature() { Type = "Feature", Geometry = new Geometry() { Type = "Point", Coordinates = new List <double> { x.Lon, x.Lat } }, Properties = new Properties() { Description = x.PopUp(), Title = x.MosqueName } }).ToList() }); }
public IEnumerable <Mosque> List() { return(repoMosque.Get()); }