19 lines
658 B
C#
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));
|
|
}
|
|
}
|
|
} |