public CreateOrUpdateProfileReceiverResponse CreateOrUpdateProfileReceiver(CreateOrUpdateProfileReceiverRequest createOrUpdateProfileReceiverRequest) { var agent = AuthIntegration.GetAgent(); var response = _agentConnect.CreateOrUpdateProfileReceiver(agent, createOrUpdateProfileReceiverRequest); CheckFlagsForDataChange(response.Payload?.Flags, agent); return(response); }
public virtual async Task <CreateOrUpdateProfileReceiverResponse> CreateOrUpdateProfileReceiverAsync(Agent agent, CreateOrUpdateProfileReceiverRequest createOrUpdateProfileReceiverRequest) { return(await AgentConnect.CreateOrUpdateProfileReceiverAsync(agent, createOrUpdateProfileReceiverRequest)); }
public virtual CreateOrUpdateProfileReceiverResponse CreateOrUpdateProfileReceiver(Agent agent, CreateOrUpdateProfileReceiverRequest createOrUpdateProfileReceiverRequest) { return(AgentConnect.CreateOrUpdateProfileReceiver(agent, createOrUpdateProfileReceiverRequest)); }
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); }
public IHttpActionResult CreateOrUpdateProfileReceiver(CreateOrUpdateProfileReceiverRequest req) { var createOrUpdateProfileReceiver = _business.CreateOrUpdateProfileReceiver(req); return(Ok(createOrUpdateProfileReceiver)); }
public CreateOrUpdateProfileReceiverData(CreateOrUpdateProfileReceiverRequest createOrUpdateProfileRequest) { Request = createOrUpdateProfileRequest; }
public override CreateOrUpdateProfileReceiverResponse CreateOrUpdateProfileReceiver(Agent agent, CreateOrUpdateProfileReceiverRequest request) { if (agent.IsInTrainingMode) { return(_traingModeRepository.MockCreateOrUpdateProfileReceiver()); } return(base.CreateOrUpdateProfileReceiver(agent, request)); }