예제 #1
0
 /// <summary>
 /// UpdateAsync
 /// </summary>
 /// <param name="teamId"></param>
 /// <param name="request"></param>
 /// <returns></returns>
 public async Task <TeamResponse> UpdateAsync(string teamId, TeamsRequest request)
 {
     return(await PatchAsync <TeamsRequest, TeamResponse>($"teams/{teamId}", request).ConfigureAwait(false));
 }
예제 #2
0
 /// <summary>
 /// CreateAsync
 /// </summary>
 /// <param name="organizationName"></param>
 /// <param name="request"></param>
 /// <returns></returns>
 public async Task <TeamResponse> CreateAsync(string organizationName, TeamsRequest request)
 {
     return(await PostAsync <TeamsRequest, TeamResponse>($"organizations/{organizationName}/teams", request).ConfigureAwait(false));
 }