public async Task SendDeleteAsync(string id) { _client.AddAuthBearer(); await _client.DeleteAsync($"{BaseUrl.SetDepartmentUrl()}/{id}"); }
public async Task <string> SendGetAsync() { _client.AddAuthBearer(); return(await _client.GetStringAsync(BaseUrl.SetDepartmentUrl())); }