Пример #1
0
        public static async Task <List <Class> > GetAll()
        {
            List <ClassDTO> classDTOs = await ClassDTO.GetAll();

            return(classDTOs.ConvertAll(c => convertToClass(c)));
        }