예제 #1
0
 /// <summary>
 /// Saves group's settings
 /// </summary>
 /// <returns>Request result</returns>
 /// <exception cref="LinkedInAlreadyMemberException">Thrown if user is not a member of the group</exception>
 public LinkedInResponse <bool> SaveSettings()
 {
     if (MembershipState != LinkedInGroupRelationship.NonMember)
     {
         return(RequestRunner.ChangeGroupSettings(Id, Settings));
     }
     throw new LinkedInIsNotMemberException("The user is not a member of group " + Name);
 }