public GetProfileConsumerResponse GetProfileConsumer(GetProfileConsumerRequest getProfileConsumerRequest)
        {
            var agent    = AuthIntegration.GetAgent();
            var response = _agentConnect.GetProfileConsumer(agent, getProfileConsumerRequest);

            CheckFlagsForDataChange(response.Payload?.Flags, agent);
            return(response);
        }
示例#2
0
 public virtual async Task <GetProfileConsumerResponse> GetProfileConsumerAsync(Agent agent, GetProfileConsumerRequest getProfileConsumerRequest)
 {
     return(await AgentConnect.GetProfileConsumerAsync(agent, getProfileConsumerRequest));
 }
示例#3
0
 public virtual GetProfileConsumerResponse GetProfileConsumer(Agent agent, GetProfileConsumerRequest getProfileConsumerRequest)
 {
     return(AgentConnect.GetProfileConsumer(agent, getProfileConsumerRequest));
 }
 public GetProfileConsumerData(GetProfileConsumerRequest getProfileConsumerRequest)
 {
     Request = getProfileConsumerRequest;
 }
示例#5
0
        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));
        }