Exemplo n.º 1
0
 private static Client GenerateClient(Bank owner)
 {
     Client newClient = new Client();
     newClient.Name = GenerateName();
     newClient.Description = GenerateDescription();
     newClient.BankId = owner.Id;
     newClient.Id = lastClientId++;
     return newClient;
 }
Exemplo n.º 2
0
 private static Bank GenerateBank()
 {
     Bank newBank = new Bank();
     newBank.Address = GenerateAddress();
     newBank.Description = GenerateDescription();
     newBank.Id = lastBankId++;
     newBank.Name = GenerateCompanyName();
     return newBank;
 }