Ejemplo n.º 1
0
 public Configuration(Account account, Profile profile, Settings settings)
 {
     this.Account = account;
     this.Profile = profile;
     this.Settings = settings;
 }
 public object PostAccount(Account account)
 {
     File.WriteAllText(HostingEnvironment.MapPath("~/App_Plugins/PieMan/account.config"), JsonConvert.SerializeObject((object) account, Newtonsoft.Json.Formatting.Indented));
       return (object) account;
 }