public CampaignStepFactory()
        {
            CampaignSteps = new List<CampaignStep>();
            CampaignBriefingFactory = new CampaignBriefingFactory();

            Uri uri = new Uri(Constants.Campaign_StepDataPath, UriKind.Relative);
            XElement applicationXml;
            StreamResourceInfo xmlStream = Application.GetResourceStream(uri);
            applicationXml = XElement.Load(xmlStream.Stream);
            var data = from t in applicationXml.Descendants("Campaign_Step")
                       select t;

            CampaignStep campaignStep = null;
            foreach (var d in data)
            {
                campaignStep = new CampaignStep();
                campaignStep.CampaignStepId = (Int32)d.Element("CampaignStepId");
                campaignStep.CampaignStepDescription = (String)d.Element("CampaignStepDesc");
                campaignStep.CampaignBriefing = CampaignBriefingFactory.GetCampaignBriefing((Int32)d.Element("BriefingId"));
                campaignStep.ScenarioId = ((Int32)d.Element("ScenarioId"));
                CampaignSteps.Add(campaignStep);
            }
        }
 public CampaignTree GetCampaignTree(CampaignStep campaignStep, CampaignStepTypeEnum campaignStepTypeEnum)
 {
     return GetCampaignTree(campaignStep.CampaignStepId, campaignStepTypeEnum);
 }