コード例 #1
0
 public async Task <List <RedisPhoto> > GetAllPhotos(Guid userId)
 {
     return(await _photosRepository.GetAllPhotos(userId));
 }
コード例 #2
0
        public async Task AddAllUsersPhotoToFeed(Guid userId, Guid subscriptionId)
        {
            var photos = await _photosRepository.GetAllPhotos(subscriptionId);

            await _redisRepository.AddAllUsersPhotoToFeed(userId, photos);
        }