Esempio n. 1
0
        public static jsonCreateAccount FromCreatedAccount(CreatedAccount Account)
        {
            jsonCreateAccount tmp = new jsonCreateAccount {
                currency = Account.Currency, id = Account.ID, name = Account.Name
            };

            return(tmp);
        }
Esempio n. 2
0
        public static CreatedAccount ToCreatedAccount(jsonCreateAccount Account)
        {
            CreatedAccount tmp = new CreatedAccount {
                ID = Account.id, Currency = Account.currency, Name = Account.name
            };

            return(tmp);
        }
Esempio n. 3
0
 public static jsonCreateAccount ToJsonCreateAccount(CreatedAccount Account)
 {
     return(jsonCreateAccount.FromCreatedAccount(Account));
 }