Esempio n. 1
0
 public async Task <IActionResult> PostDisciplinas([FromRoute] Guid turmaId, [FromBody] IEnumerable <Guid> disciplinasIds)
 {
     return(Ok(_turmaToTurmaCompletoDTOMapper.Map(await _turmaService.GetByIdAsync(turmaId),
                                                  await _turmaService.AddDisciplinasAsync(turmaId, disciplinasIds))));
 }