Files
using.cash/Logic/Governance/MotionAmendments.cs
T
2014-10-08 23:53:12 +02:00

19 lines
658 B
C#

using Swarmops.Basic.Types.Governance;
using Swarmops.Database;
using Swarmops.Logic.Support;
namespace Swarmops.Logic.Governance
{
public class MotionAmendments: PluralBase<MotionAmendments,MotionAmendment,BasicMotionAmendment>
{
static public MotionAmendments ForMotion (Motion motion)
{
return MotionAmendments.FromArray(SwarmDb.GetDatabaseForReading().GetMotionAmendments(motion));
}
static public MotionAmendments ForMeeting (Meeting meeting)
{
return FromArray(SwarmDb.GetDatabaseForReading().GetMotionAmendmentsForMeeting(meeting.Identity));
}
}
}