public ViewTutorialsModel Get(int id) { var tuto = _tutorialService.GetById(id); return(new ViewTutorialsModel { Id = tuto.Id, Title = tuto.Title, Sources = tuto.Sources.Select(s => new TutorialSourceModel { Content = s.Content, Type = s.Type }) }); }