public IHttpActionResult DwProfile([FromBody] DwProfileRequest dwProfileReq) { dwProfileReq.ThrowIfNull(nameof(dwProfileReq)); var resp = _internalBusiness.DwProfile(dwProfileReq); return(Ok(resp)); }
public DwProfileResponse DwProfile(DwProfileRequest dwProfileRequest) { var agent = AuthIntegration.GetAgent(); var response = _agentConnect.DwProfile(agent, dwProfileRequest); CheckFlagsForDataChange(response.Payload?.Flags, agent); return(response); }
public AcApiResponse <DwProfileResponse, ApiData> DwProfile(DwProfileRequest req) { var resp = agentConnectIntegration.DwProfile(req); var apiResp = new AcApiResponse <DwProfileResponse, ApiData> { BusinessMetadata = MapperHelper.SetResponseProperties(resp.Payload?.Flags, DataSource.AgentConnect), ResponseData = resp }; return(apiResp); }
public virtual async Task <DwProfileResponse> DwProfileAsync(Agent agent, DwProfileRequest dwProfileRequest) { return(await AgentConnect.DwProfileAsync(agent, dwProfileRequest)); }
public virtual DwProfileResponse DwProfile(Agent agent, DwProfileRequest dwProfileRequest) { return(AgentConnect.DwProfile(agent, dwProfileRequest)); }