public EditProjectAttachmentUpdatesViewModel(ProjectFirmaModels.Models.ProjectAttachmentUpdate projectAttachmentUpdate) { ParentID = projectAttachmentUpdate.ProjectUpdateBatchID; AttachmentID = projectAttachmentUpdate.ProjectAttachmentUpdateID; DisplayName = projectAttachmentUpdate.DisplayName; Description = projectAttachmentUpdate.Description; }
public void UpdateModel(ProjectFirmaModels.Models.ProjectAttachmentUpdate projectAttachmentUpdate) { projectAttachmentUpdate.DisplayName = DisplayName; projectAttachmentUpdate.Description = Description; }
public EditProjectAttachmentsViewModel(ProjectFirmaModels.Models.ProjectAttachmentUpdate projectAttachmentUpdate) { DisplayName = projectAttachmentUpdate.DisplayName; Description = projectAttachmentUpdate.Description; }