Exemplo n.º 1
0
        public async Task <ActionResult> AddAsync(SpeakerDto dto)
        {
            await _speakerService.CreateAsync(dto);

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