private IBookClubMembershipRepository GetFakeBookClubMembershipRepository() { var repository = new FakeBookClubMembershipRepository(); var newMembership = BookClubMembership.Create(3344656); repository.Save(newMembership); return(repository); }
private IBookClubMembershipRepository GetFakeBookClubMembershipRepository(BookClubMembership bookClubMembership) { IBookClubMembershipRepository repository = new FakeBookClubMembershipRepository(); if (bookClubMembership != null) { repository.Save(bookClubMembership); } return(repository); }