public List <ThemeDto> GetThemeList() { var themeRepository = new ThemeRepository(); var themeList = themeRepository.GetListOfTheme(); return(themeList.Select(x => x.ToThemeDto()).ToList()); }