Save() public method

public Save ( ) : void
return void
コード例 #1
0
ファイル: AdminController.cs プロジェクト: eshengsky/iBlog
 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();
 }