public static jsonCreateAccount FromCreatedAccount(CreatedAccount Account) { jsonCreateAccount tmp = new jsonCreateAccount { currency = Account.Currency, id = Account.ID, name = Account.Name }; return(tmp); }
public static CreatedAccount ToCreatedAccount(jsonCreateAccount Account) { CreatedAccount tmp = new CreatedAccount { ID = Account.id, Currency = Account.currency, Name = Account.name }; return(tmp); }
public static jsonCreateAccount ToJsonCreateAccount(CreatedAccount Account) { return(jsonCreateAccount.FromCreatedAccount(Account)); }