예제 #1
0
        private IVideoClubMembershipRepository GetFakeVideoClubMembershipRepository()
        {
            var repository    = new FakeVideoClubMembershipRepository();
            var newMembership = VideoClubMembership.Create(3344656);

            repository.Save(newMembership);
            return(repository);
        }
예제 #2
0
        private IVideoClubMembershipRepository GetFakeVideoClubMembershipRepository(VideoClubMembership VideoClubMembership)
        {
            IVideoClubMembershipRepository repository = new FakeVideoClubMembershipRepository();

            if (VideoClubMembership != null)
            {
                repository.Save(VideoClubMembership);
            }
            return(repository);
        }