using System.Collections.Generic; using Activizr.Database; namespace Activizr.Logic.Support { /// /// This class contains one-off optimizations that don't fit anywhere. /// public class Optimizations { public static Dictionary GetPeopleWhoDeclineLocalMail (int[] personIds) { return PirateDb.GetDatabaseForReading().GetPeopleWhoDeclineLocalMail (personIds); } public static Dictionary GetGeographyVoterCounts() { return PirateDb.GetDatabaseForReading().GetGeographyVoterCounts(); } public static Dictionary GetInternalPollVoteCountsPerGeography(int pollId) { return PirateDb.GetDatabaseForReading().GetInternalPollVoteCountsPerGeography(pollId); } } }