コード例 #1
0
 public async Task SendDeleteAsync(string id)
 {
     _client.AddAuthBearer();
     await _client.DeleteAsync($"{BaseUrl.SetDepartmentUrl()}/{id}");
 }
コード例 #2
0
 public async Task <string> SendGetAsync()
 {
     _client.AddAuthBearer();
     return(await _client.GetStringAsync(BaseUrl.SetDepartmentUrl()));
 }