Exemplo n.º 1
0
        public AcApiResponse <CreateOrUpdateProfileConsumerResponse, ApiData> CreateOrUpdateProfileConsumer(CreateOrUpdateProfileConsumerRequest req)
        {
            var resp = _agentConnectIntegration.CreateOrUpdateProfileConsumer(req);

            var apiResp = new AcApiResponse <CreateOrUpdateProfileConsumerResponse, ApiData>
            {
                BusinessMetadata = MapperHelper.SetResponseProperties(resp.Payload?.Flags, DataSource.AgentConnect),
                ResponseData     = resp
            };

            return(apiResp);
        }