public CreateOrUpdateProfileConsumerResponse CreateOrUpdateProfileConsumer(CreateOrUpdateProfileConsumerRequest req) { var agent = AuthIntegration.GetAgent(); var response = _agentConnect.CreateOrUpdateProfileConsumer(agent, req); CheckFlagsForDataChange(response.Payload?.Flags, agent); return(response); }
public virtual async Task <CreateOrUpdateProfileConsumerResponse> CreateOrUpdateProfileConsumerAsync(Agent agent, CreateOrUpdateProfileConsumerRequest createOrUpdateProfileConsumerRequest) { return(await AgentConnect.CreateOrUpdateProfileConsumerAsync(agent, createOrUpdateProfileConsumerRequest)); }
public virtual CreateOrUpdateProfileConsumerResponse CreateOrUpdateProfileConsumer(Agent agent, CreateOrUpdateProfileConsumerRequest createOrUpdateProfileConsumerRequest) { return(AgentConnect.CreateOrUpdateProfileConsumer(agent, createOrUpdateProfileConsumerRequest)); }
public CreateOrUpdateProfileConsumerData(CreateOrUpdateProfileConsumerRequest createOrUpdateProfileRequest) { Request = createOrUpdateProfileRequest; }
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); }
public IHttpActionResult CreateOrUpdateProfileConsumer(CreateOrUpdateProfileConsumerRequest req) { var consumerRespVm = _business.CreateOrUpdateProfileConsumer(req); return(Ok(consumerRespVm)); }