/// <summary>
 /// Gets a list of organizations the authenticated user is a part of.
 /// </summary>
 /// <returns></returns>
 public GitHubOrganizationsResponse GetOrganizations()
 {
     return(GitHubOrganizationsResponse.ParseResponse(Raw.GetOrganizations()));
 }
示例#2
0
 /// <summary>
 /// Gets a list of organizations the specified user is a part of.
 /// </summary>
 /// <returns></returns>
 public GitHubOrganizationsResponse GetOrganizations(string username)
 {
     return(GitHubOrganizationsResponse.ParseResponse(Raw.GetOrganizations(username)));
 }