public async Task <IEnumerable <HealthcareBC.Tracker.ContractTransaction> > GetInCompletedCitizenProfiles(string State) { var trackerEndpoint = ServiceEndPointResolver.GetServiceEndPoint(ServiceEndpoints.trackerEndPoint, null); HealthcareBC.Tracker.TrackerProxy trackerProxy = new HealthcareBC.Tracker.TrackerProxy(trackerEndpoint, new HttpClient()); var _profiles = await trackerProxy.GetIncompletedCitizenProfilesAsync(State); return(_profiles); }
async public Task <IEnumerable <HealthcareBC.Tracker.ContractTransaction> > GetCitizenProfilesNotAssignedHealthcareEligibility(string State) { var trackerEndpoint = ServiceEndPointResolver.GetServiceEndPoint(ServiceEndpoints.trackerEndPoint, null); HealthcareBC.Tracker.TrackerProxy trackerProxy = new HealthcareBC.Tracker.TrackerProxy(trackerEndpoint, new HttpClient()); var _profiles = await trackerProxy.GetCitizenProfilesNotAssignedHealthcareEligibilityAsync(State); return(_profiles); }
async public Task <HealthcareBC.Tracker.ContractTransaction> GetTransactionByEntityId(string entityId) { var trackerEndpoint = ServiceEndPointResolver.GetServiceEndPoint(ServiceEndpoints.trackerEndPoint, null); HealthcareBC.Tracker.TrackerProxy trackerProxy = new HealthcareBC.Tracker.TrackerProxy(trackerEndpoint, new HttpClient()); //var decrypter = new Cryptolib(""); //return await decryptPII((await trackerProxy.GetTransactionInformationByTxEntityIdAsync(entityId)), decrypter); return(await trackerProxy.GetTransactionInformationByTxEntityIdAsync(entityId)); }