public IEnumerable <BoundingBox> GetPolygonSearchBoxes([FromBody] PolygonSearchRequestModelClass data) { return(geohash.DataBase.BpolygonBoxes(data.Vertices, data.Level)); }
public IEnumerable <Coordinates> GetPolygonSearchCoordinates([FromBody] PolygonSearchRequestModelClass data) { var db = _dbInterface.GetDatabase(); return(db.BpolygonCoordinates(data.Vertices, data.Level)); }