Пример #1
0
        public AcApiResponse <CreateOrUpdateProfileReceiverResponse, ApiData> CreateOrUpdateProfileReceiver(CreateOrUpdateProfileReceiverRequest req)
        {
            var resp = _agentConnectIntegration.CreateOrUpdateProfileReceiver(req);

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

            return(apiResp);
        }