コード例 #1
0
 public CountingServices(IElectionRepository electionServices,
                         IVoteRepository voteRepository,
                         IPartyServices partyServices)
 {
     _electionServices = electionServices;
     _voteRepository   = voteRepository;
     _partyServices    = partyServices;
 }
コード例 #2
0
 public PartyController(IPartyServices partyServices)
 {
     _partyServices = partyServices;
 }