Ejemplo n.º 1
0
        public Task <IEnumerable <PresenceProfileStatus> > FindBlockStatuses([FromBody] BuddyLookupRequest buddyLookup)
        {
            PresenceProfileLookup lookup = new PresenceProfileLookup();

            lookup.blockLookup   = true;
            lookup.profileLookup = buddyLookup.profileLookup;
            return(profileStatusRepository.Lookup(lookup));
        }
Ejemplo n.º 2
0
        public Task <IEnumerable <PresenceProfileStatus> > FindBuddyStatuses([FromBody] BuddyLookupRequest buddyLookup)
        {
            PresenceProfileLookup lookup = new PresenceProfileLookup();

            lookup.buddyLookup   = true;
            lookup.profileLookup = buddyLookup.profileLookup;
            if (buddyLookup.targetLookup != null)
            {
                lookup.targetLookup = buddyLookup.targetLookup;
            }
            return(profileStatusRepository.Lookup(lookup));
        }