//UPDATE SKILLS ONLY public void UpdateSkills(Character monPerso, Character newVersion) { logger.Log("Inside character repository.UpdateSkills."); SheetFiller sFiller = new SheetFiller(); // This might be reworked string mypath = ConfigurationManager.AppSettings["path"]; string path = System.Web.HttpContext.Current.Server.MapPath(mypath); bool sanCheck = true; foreach (var skill in newVersion.Skills) { sanCheck = skill.Validate(); } if (!sanCheck) { return; } // Record the new values sFiller.FillSkills(newVersion, path); sFiller.FillSpendablePoints(newVersion, path); }