public GetProfileConsumerResponse GetProfileConsumer(GetProfileConsumerRequest getProfileConsumerRequest) { var agent = AuthIntegration.GetAgent(); var response = _agentConnect.GetProfileConsumer(agent, getProfileConsumerRequest); CheckFlagsForDataChange(response.Payload?.Flags, agent); return(response); }
public virtual async Task <GetProfileConsumerResponse> GetProfileConsumerAsync(Agent agent, GetProfileConsumerRequest getProfileConsumerRequest) { return(await AgentConnect.GetProfileConsumerAsync(agent, getProfileConsumerRequest)); }
public virtual GetProfileConsumerResponse GetProfileConsumer(Agent agent, GetProfileConsumerRequest getProfileConsumerRequest) { return(AgentConnect.GetProfileConsumer(agent, getProfileConsumerRequest)); }
public GetProfileConsumerData(GetProfileConsumerRequest getProfileConsumerRequest) { Request = getProfileConsumerRequest; }
public AcApiResponse <GetProfileConsumerResponse, ApiData> GetProfileConsumer(GetProfileConsumerRequest req) { var resp = _agentConnectIntegration.GetProfileConsumer(req); var apiResp = new AcApiResponse <GetProfileConsumerResponse, ApiData> { BusinessMetadata = MapperHelper.SetResponseProperties(resp.Payload?.Flags, DataSource.AgentConnect), ResponseData = resp }; return(apiResp); }
public IHttpActionResult GetProfileConsumer(GetProfileConsumerRequest req) { var consumerRespVm = _business.GetProfileConsumer(req); return(Ok(consumerRespVm)); }