Example #1
0
        public string RegisterClient(DBModels.Client cl)
        {
            BankAdministratorSimulatorClient client = new BankAdministratorSimulatorClient();
            Task <string> task = client.RegisterClientAsync(cl);

            client.Close();
            return(task.Result);
        }
Example #2
0
        public string AddAccount(DBModels.Client cl, Account acc)
        {
            BankAdministratorSimulatorClient client = new BankAdministratorSimulatorClient();
            Task <string> task = client.AddAccountAsync(cl, acc);

            client.Close();
            return(task.Result);
        }
Example #3
0
 public System.Threading.Tasks.Task AddClientAsync(DBModels.Client client)
 {
     return(base.Channel.AddClientAsync(client));
 }
Example #4
0
 public void AddClient(DBModels.Client client)
 {
     base.Channel.AddClient(client);
 }