// nothing much here public static Ballots ForElection(Election election) { return(FromArray(SwarmDb.GetDatabaseForReading().GetBallots(election, Organization.PPSE))); // HACK HACK HACK -- PPSE hardcoded }
// nothing much here public static Ballots ForElection(Election election, Organization organization) { return(FromArray(SwarmDb.GetDatabaseForReading().GetBallots(election, organization))); }
public static Ballot Create(Election election, Organization organization, Geography geography, string name, int ballotCount, string deliveryAddress) { return(FromIdentity(SwarmDb.GetDatabaseForWriting().CreateBallot(election.Identity, name, organization.Identity, geography.Identity, ballotCount, deliveryAddress))); }
public static Ballot Create (Election election, Organization organization, Geography geography, string name, int ballotCount, string deliveryAddress) { return FromIdentity(SwarmDb.GetDatabaseForWriting().CreateBallot(election.Identity, name, organization.Identity, geography.Identity, ballotCount, deliveryAddress)); }