Example #1
0
 public void SaveChanges(ContentTextDraftViewModel contentPageDraftViewModel)
 {
     this.DraftContents = contentPageDraftViewModel.DraftContents;
     if (contentPageDraftViewModel.MakeLive)
     {
         MakeDraftLive();
     }
 }
Example #2
0
 public ContentText(ContentTextDraftViewModel contentTextDraftViewModel)
 {
     _ContentID = contentTextDraftViewModel.ContentID;
     _ModuleID  = contentTextDraftViewModel.ModuleID;
     Initialize();
 }