Exemple #1
0
 public ImportantDocumentEntityDto(ImportantDocumentEntity model)
 {
     Id                 = model.Id;
     Created            = model.Created;
     Modified           = model.Modified;
     FileId             = model.FileId;
     Name               = model.Name;
     Qld                = model.Qld;
     Nsw                = model.Nsw;
     Vic                = model.Vic;
     Tas                = model.Tas;
     Wa                 = model.Wa;
     Sa                 = model.Sa;
     Nt                 = model.Nt;
     DocumentCategoryId = model.DocumentCategoryId;
 }
Exemple #2
0
        public static ServersideImportantDocumentEntity Convert(ImportantDocumentEntity model)
        {
            var dto = new ImportantDocumentEntityDto(model);

            return(dto.GetServersideImportantDocumentEntity());
        }