Beispiel #1
0
 public SubDocTypeViewModel(Entities.SubDocType subDocType)
 {
     Id               = subDocType.Id;
     Code             = subDocType.Code;
     Description      = subDocType.Description;
     DocTypeViewModel = new DocTypeViewModel(subDocType.DocType);
 }
Beispiel #2
0
 public void AddDocTypes(IList <Entities.DocType> docTypes)
 {
     foreach (Entities.DocType docType in docTypes)
     {
         var avm = new DocTypeViewModel(docType);
         DocTypes.Add(avm);
     }
 }