Metodi utilizzati di frequente
Metodi utilizzati di frequente
Metodi utilizzati di frequente
Metodi utilizzati di frequente
public async Task UpdateAsync(SpeakerDto speaker) { var exists = await _speakerRepository.ExistsAsync(speaker.Id); if (!exists) { throw new SpeakerNotFoundException(speaker.Id); } await _speakerRepository.UpdateAsync(speaker.AsEntity()); }