public GetProfileSenderResponse GetProfileSender(GetProfileSenderRequest getProfileSender)
        {
            var agent    = AuthIntegration.GetAgent();
            var response = _agentConnect.GetProfileSender(agent, getProfileSender);

            CheckFlagsForDataChange(response.Payload?.Flags, agent);
            return(response);
        }
Beispiel #2
0
        public AcApiResponse <GetProfileSenderResponse, ApiData> GetProfileSender(GetProfileSenderRequest req)
        {
            var resp = _agentConnectIntegration.GetProfileSender(req);

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

            return(apiResp);
        }
Beispiel #3
0
 public virtual async Task <GetProfileSenderResponse> GetProfileSenderAsync(Agent agent, GetProfileSenderRequest getProfileSenderRequest)
 {
     return(await AgentConnect.GetProfileSenderAsync(agent, getProfileSenderRequest));
 }
Beispiel #4
0
 public virtual GetProfileSenderResponse GetProfileSender(Agent agent, GetProfileSenderRequest getProfileSenderRequest)
 {
     return(AgentConnect.GetProfileSender(agent, getProfileSenderRequest));
 }
        public IHttpActionResult GetProfileSender(GetProfileSenderRequest req)
        {
            var getProfileSender = _business.GetProfileSender(req);

            return(Ok(getProfileSender));
        }
 public GetProfileSenderData(GetProfileSenderRequest getProfileSenderRequest)
 {
     Request = getProfileSenderRequest;
 }