public async Task <IEnumerable <Community> > GetStations([FromUri] string q = null)
        {
            var manager = CommunityManagerFactory.GetCommunityManager();

            if (q != null)
            {
                return(await manager.FindCommunitiesWithStationsBySearchString(q));
            }

            return(await manager.FindCommunitiesWithStations());
        }
        public async Task <IEnumerable <Community> > GetByName([FromUri] string name)
        {
            var manager = CommunityManagerFactory.GetCommunityManager();

            return(await manager.FindCommunitiesByName(name));
        }
        public async Task <IEnumerable <Community> > GetAll()
        {
            var manager = CommunityManagerFactory.GetCommunityManager();

            return(await manager.GetAllCommunities());
        }