public async Task <ActionResult <Curso> > PutCurso(int artistaId, int CursoId, [FromBody] Curso Curso) { try { return(Ok(await cursoService.ActualizarCursoAsync(artistaId, CursoId, Curso))); } catch { throw new Exception("Not possible to show"); } }