Example #1
0
        public async Task <IEnumerable <Election> > GetOpenElections()
        {
            var elections = await _electionRepository.FindByQuery(new GetOpenElectionsSpecification());

            return(elections);
        }