private void GetViolationData() { var callTask = client.GetFatalitiyTargetAsync(); var obs = callTask.ToObservable(); obs.Subscribe((x) => Add_ViolationsDetails(x)); }
private void GetViolationData() { var callTask = client.GetFatalitiyTargetAsync(); var obs = callTask.ToObservable(); obs.Subscribe((x) => Add_ViolationsDetails(x)); }