public OkResult Update(int id, [FromBody] UpdateTutorialModel res) { _tutorialService.Update(id, res.Title, res.ExerciceId, res.Sources.Select(s => new TutorialSource() { Type = s.Type, Content = s.Content })); return(Ok()); }