Ejemplo n.º 1
0
        public void AddParticipant(Guid userId, CastingRole role)
        {
            if (this.MatchSeriesCastingParticipants.Any(mscp => mscp.UserProfileId == userId))
            {
                return;
            }

            this.MatchSeriesCastingParticipants.Add(new MatchSeriesCastingParticipation(userId, role));
        }
 public MatchSeriesCastingParticipation(Guid userId, CastingRole role)
 {
     this.UserProfileId = userId;
     this.Role          = role;
 }