示例#1
0
        public AcApiResponse <SaveProfileResponse, ApiData> SaveProfile(SaveProfileRequest req)
        {
            var resp = _agentConnectIntegration.SaveProfile(req);

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

            return(apiResp);
        }