public async Task TestEventMemberER_NewEventMemberER()
        {
            var eventDocumentObj = await EventMemberER.NewEventMemberER();

            Assert.NotNull(eventDocumentObj);
            Assert.IsType <EventMemberER>(eventDocumentObj);
            Assert.False(eventDocumentObj.IsValid);
        }
        public async Task TestEventMemberER_GetEventMemberER()
        {
            var eventDocumentObj = await EventMemberER.GetEventMemberER(1);

            Assert.NotNull(eventDocumentObj);
            Assert.IsType <EventMemberER>(eventDocumentObj);
            Assert.Equal(1, eventDocumentObj.Id);
            Assert.True(eventDocumentObj.IsValid);
        }
        private async Task <EventMemberER> BuildEventMember()
        {
            var eventDocumentObj = await EventMemberER.NewEventMemberER();

            eventDocumentObj.Event = await EventEC.GetEventEC(new Event()
            {
                Id = 1
            });

            eventDocumentObj.MemberInfo = await MemberInfoEC.GetMemberInfoEC(new MemberInfo()
            {
                Id = 1
            });

            eventDocumentObj.Role            = "Organizer";
            eventDocumentObj.LastUpdatedBy   = "edm";
            eventDocumentObj.LastUpdatedDate = DateTime.Now;
            eventDocumentObj.Notes           = "notes for doctype";

            return(eventDocumentObj);
        }