public async Task <IActionResult> PutConference(int id, ConferenceRequest input) { var conference = await _conferencesRepository.UpdateAsync(input.MapConference()); if (conference == null) { return(NotFound()); } return(NoContent()); }
public Task CreateConferenceAsync(ConferenceRequest conference) { throw new NotImplementedException(); }
public async Task CreateConferenceAsync(ConferenceRequest conference) { var response = await _httpClient.PostAsJsonAsync(_conferencesUri, conference); response.EnsureSuccessStatusCode(); }