Esempio n. 1
0
        public static List <ClassDTO> GetClassDTOListFromClassList(List <Class> list)
        {
            List <ClassDTO> classDTOList = new List <ClassDTO>();

            if (list == null)
            {
                return(classDTOList);
            }
            foreach (var l in list)
            {
                classDTOList.Add(ClassDTO.GetClassDTOFromClass(l));
            }
            return(classDTOList);
        }