public static Member CreateEventOwner(CodeEvent codeEvent, User member) { return(new Member(codeEvent, member, MemberRole.Owner)); }
private Member(CodeEvent codeEvent, User user, MemberRole role) { CodeEvent = codeEvent; User = user; Role = role; }