예제 #1
0
        public async Task <ActionResult> AddAsync(ConferenceDetailsDto dto)
        {
            await _conferenceService.AddAsync(dto);

            AddResourceIdHeader(dto.Id);
            return(CreatedAtAction(nameof(Get), new { id = dto.Id }, null));
        }