public VotingPlace(ICentralDbRepository centralDbRepository, ILocalBoothFinder localBoothFinder, int electionId, int votingPlaceId) { this.centralDbRepository = centralDbRepository; this.localBoothFinder = localBoothFinder; this.electionId = electionId; this.votingPlaceId = votingPlaceId; }
public ShareManager(int treshold, HsmFactory hsmFactory, IKeyManager keyManager, ICentralDbRepository centralDbRepository, List <IPublicShareHolder> publicShareHolders) { ShareHolders = publicShareHolders; Treshold = treshold; this.hsmFactory = hsmFactory; this.keyManager = keyManager; this.centralDbRepository = centralDbRepository; }