public PersonaRepository() { fusionReader = new StreamReader(System.Web.Hosting.HostingEnvironment.MapPath("~/App_Data/FusionGuide.csv")); skillsReader = new StreamReader(System.Web.Hosting.HostingEnvironment.MapPath("~/App_Data/SkillList.csv")); skillModel = new SkillModel(skillsReader); inheritanceModel = new InheritanceModel(); personaModel = new PersonaModel(fusionReader, skillModel, inheritanceModel); }
public PersonaModel(StreamReader reader, SkillModel skillModel, InheritanceModel inheritanceModel) { this.skillModel = skillModel; this.inheritanceModel = inheritanceModel; personaList = BuildPersonaList(reader); }