private IVideoClubMembershipRepository GetFakeVideoClubMembershipRepository()
        {
            var repository    = new FakeVideoClubMembershipRepository();
            var newMembership = VideoClubMembership.Create(3344656);

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

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