public async Task <Service> UpdateService(Service service) { var responseString = await _httpClientAdapter.PutAsync(new Uri($"{ _ApiBaseAddress}/Services/{service.Id}"), service); var updatedService = JsonConvert.DeserializeObject <Service>(responseString); return(updatedService); }
public async Task <Organization> UpdateOrganisation(Organization organization) { var responseString = await _httpClientAdapter.PutAsync(new Uri($"{ _ApiBaseAddress}/Organizations/{organization.Id}"), organization); return(organization); }