Esempio n. 1
0
        public static List <DocumentFileViewModel> ConvertToDocumentFileViewModelList(this IEnumerable <DocumentFile> DocumentFiles)
        {
            List <DocumentFileViewModel> DocumentFileViewModels = new List <DocumentFileViewModel>();

            foreach (DocumentFile DocumentFile in DocumentFiles)
            {
                DocumentFileViewModels.Add(DocumentFile.ConvertToDocumentFileViewModel());
            }
            return(DocumentFileViewModels);
        }