public async Task <ActionResult> AddAsync(SpeakerDto dto) { await _speakerService.CreateAsync(dto); return(CreatedAtAction(nameof(Get), new { id = dto.Id }, null)); }
public async Task <ActionResult> AddAsync(SpeakerDto dto) { await _speakerService.CreateAsync(dto); return(CreatedAtAction(nameof(Get), new { id = dto.Id }, null)); }