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