using Swarmops.Basic.Types.Governance; using Swarmops.Database; using Swarmops.Logic.Support; namespace Swarmops.Logic.Governance { public class MotionAmendments: PluralBase { 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)); } } }