Files
2014-12-05 22:12:51 +01:00

19 lines
648 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>
{
public static MotionAmendments ForMotion (Motion motion)
{
return FromArray (SwarmDb.GetDatabaseForReading().GetMotionAmendments (motion));
}
public static MotionAmendments ForMeeting (Meeting meeting)
{
return FromArray (SwarmDb.GetDatabaseForReading().GetMotionAmendmentsForMeeting (meeting.Identity));
}
}
}