示例#1
0
        public async Task <List <Activity> > FetchAllActivities(int accountId, int contactKey)
        {
            var connString = await GetAccountConnectionString(accountId);

            var response = await _infowebAXClientReference.FetchAllActivities(connString, contactKey);

            return(GetDeserializedResponse <Activity>(response.FetchAllActivitiesResult.Nodes));
        }
示例#2
0
        public async Task <FetchAllActivitiesResponse> FetchAllActivities(int accountId, int contactKey)
        {
            var connString = await GetAccountConnectionString(accountId);

            return(await _infowebAXClientReference.FetchAllActivities(connString, contactKey));
        }