public string RegisterClient(DBModels.Client cl) { BankAdministratorSimulatorClient client = new BankAdministratorSimulatorClient(); Task <string> task = client.RegisterClientAsync(cl); client.Close(); return(task.Result); }
public string AddAccount(DBModels.Client cl, Account acc) { BankAdministratorSimulatorClient client = new BankAdministratorSimulatorClient(); Task <string> task = client.AddAccountAsync(cl, acc); client.Close(); return(task.Result); }
public System.Threading.Tasks.Task AddClientAsync(DBModels.Client client) { return(base.Channel.AddClientAsync(client)); }
public void AddClient(DBModels.Client client) { base.Channel.AddClient(client); }