public void SaveAbout(AboutConfig conf) { var configSettings = new ConfigSettings(); var config = new AboutConfig(configSettings, "About", Server.MapPath("~/Settings")) { FirstLine = conf.FirstLine, SecondLine = conf.SecondLine, PhotoPath = conf.PhotoPath, QrcodePath = conf.QrcodePath, ThirdLine = conf.ThirdLine, Profile = conf.Profile, Wechat = conf.Wechat, Email = conf.Email }; config.Save(); }