Example #1
0
File: Client.cs Project: GoAll5/OOP
        public override Client GivePassportId(uint passportId)
        {
            VerifiedClient client = new VerifiedClient(Name, passportId);

            if (Accounts != null)
            {
                foreach (Account account in Accounts)
                {
                    account.Verified = true;
                    client.AddAccount(account);
                }
            }
            return(client);
        }
Example #2
0
File: Client.cs Project: GoAll5/OOP
        public override Client GiveAddress(string address)
        {
            VerifiedClient client = new VerifiedClient(Name, address);

            client.Address = address;
            if (Accounts != null)
            {
                foreach (Account account in Accounts)
                {
                    account.Verified = true;
                    client.AddAccount(account);
                }
            }
            return(client);
        }