public IActionResult GetByTypeTheme(/*[FromRoute]*/ int Id) { IEnumerable <Modeles.ThemeLite> themes = _themeRepo.GetByTypeTheme(Id).Select(tt => tt.DalToApiThemeLite()); /*themes = themes.Select(tt => * { * tt.Adresse = _adRepo.GetById(tt.AdresseID); * tt.TypeTheme = _ttRepo.GetByTheme(tt.ThemeID); * return tt; * });*/ return(Ok(themes)); }