public ContentVideoDraftViewModel(ContentVideo contentText) { _ContentID = contentText.ContentID; _DraftContents = contentText.DraftContents; _Locale = contentText.Locale; _ModuleID = contentText.ModuleID; _ModuleName = contentText.ModuleName; _ModuleTypeName = contentText.ModuleTypeName; _PageID = contentText.PageID; _PageSectionName = contentText.PageSectionName; _PageTitle = contentText.PageTitle; _URL = contentText.PageURL; }
public ContentVideoViewModel(ContentVideo data) { this.Contents = data.Contents; this.ContentID = data.ContentID; this.Locale = data.Locale; this.ModuleID = data.ModuleID; this.ModuleName = data.ModuleName; this.ModuleTypeName = data.ModuleTypeName; this.PageID = data.PageID; this.PageSectionName = data.PageSectionName; this.PageTitle = data.PageTitle; this.PageURL = data.PageURL; this.Video = data.Video; this.VideoSource = data.VideoSource; this.VideoURL = data.VideoURL; this.Width = data.Width; this.Height = data.Height; }