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")); } }
public NewDeficiencyVM(DeficienciesBO deficiencies, string deficiencyState) : base(deficiencies) { DeficiencyState = deficiencyState; CheckedRules = new List<string>(); }