Exemplo n.º 1
0
        private static IMember CreateMember(MemberIdentityUser fakeUser)
        {
            var        builder    = new MemberTypeBuilder();
            MemberType memberType = builder.BuildSimpleMemberType();

            return(new Member(memberType)
            {
                Id = 777,
                Username = fakeUser.UserName,
            });
        }
Exemplo n.º 2
0
        private static MemberType BuildMemberType()
        {
            var builder = new MemberTypeBuilder();

            return(builder.BuildSimpleMemberType());
        }