示例#1
0
 public void Remove(FollowerProjection projection)
 {
     _projections.Remove(projection);
 }
        public void Handle(UserUnfollowed userUnfollowed)
        {
            var followerProjection = new FollowerProjection(userUnfollowed.SubscriptionId.Followee, userUnfollowed.SubscriptionId.Follower);

            _followersRepository.Remove(followerProjection);
        }
示例#3
0
 public void Save(FollowerProjection projection)
 {
     _projections.Add(projection);
 }