public void GetSuperVisorID() { var task = _client.GetSupervisorIdAsync().ToObservable(); task.Subscribe(x => SetSuperVisorID(x)); //var supId = await _client.GetSupervisorIdAsync(); //SuperVisorId = supId; }
public void GetSuperVisorID() { var task = _client.GetSupervisorIdAsync().ToObservable(); task.Subscribe(x => SetSuperVisorID(x)); //var supId = await _client.GetSupervisorIdAsync(); //SuperVisorId = supId; }