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; }