コード例 #1
0
        public NoDeficiencyVM(DeficienciesBO deficiencies)
        {
            Rules = new List<RuleSubSectionDO>();
            TOCID = deficiencies.TOCID;

            foreach (RuleBO section in deficiencies.ScreenRules.Rules)
            {
                RuleSection = section.RuleSection.Section;
                Rules.AddRange(section.RuleSubSection.Where(r=>r.Description != "Entire Section"));
            }
        }
コード例 #2
0
 public NewDeficiencyVM(DeficienciesBO deficiencies, string deficiencyState)
     : base(deficiencies)
 {
     DeficiencyState = deficiencyState;
     CheckedRules = new List<string>();
 }