public IList <IRuleset> GetRulesetsForObligation(IObligation obligation) { return(_ruleLoader.GetRulesets().Where(x => x.Target == obligation.Id).ToList()); }
/// <summary> /// Initializes a new instance of the <see cref="ObligationRepository"/> class. /// </summary> public ObligationRepository() { srv = new Obligation(); }