public async Task <IActionResult> PutConference(int id, ConferenceRequest input)
        {
            var conference = await _conferencesRepository.UpdateAsync(input.MapConference());

            if (conference == null)
            {
                return(NotFound());
            }

            return(NoContent());
        }
Пример #2
0
 public Task CreateConferenceAsync(ConferenceRequest conference)
 {
     throw new NotImplementedException();
 }
Пример #3
0
        public async Task CreateConferenceAsync(ConferenceRequest conference)
        {
            var response = await _httpClient.PostAsJsonAsync(_conferencesUri, conference);

            response.EnsureSuccessStatusCode();
        }