ArthurAtangana / capstone-voting-system

0 stars 0 forks source link

Poll Configuration Updates and Election Object Instantiation #15

Closed VictoriaMalouf closed 6 days ago

VictoriaMalouf commented 1 week ago

PR type

Description

Related Issues/Tickets

[

Screen Shot 2024-11-09 at 1 43 29 PM

](URL)

Screen Shot 2024-11-09 at 1 44 06 PM

For MVP there will be one election object. To access the election:

private final ElectionService electionService; 
@Autowired
public AuthenticationController(ElectionService electionService) {
    this.electionService = electionService;
}
Election election = electionService.getElection(); // to access

Added/updated tests?

PR Checklist