コード例 #1
0
        public IEnumerable <GeoCoordinates> Get(Guid userId)
        {
            var lastPosition = _usersLocationService.GetLastUserPosition(userId);

            return(_usersLocationService.GetCloseUsers(lastPosition, 0));
        }
コード例 #2
0
        public async Task <IEnumerable <Point> > Get(Guid userId)
        {
            var lastPosition = await _usersLocationService.GetLastUserPosition(userId);

            return(await _usersLocationService.GetCloseUsers(lastPosition, 0));
        }