public dtoAttachmentFile(AttachmentFile attachmentFile) { Id = attachmentFile.Id; Item = attachmentFile.Item; Deleted = attachmentFile.Deleted; ModuleLinkId = attachmentFile.Link.Id; DisplayOrder = attachmentFile.DisplayOrder; Description = attachmentFile.Description; ForAll = attachmentFile.ForAll; SubmitterAssignments = new List <long>(); }
public AttachmentAssignment(AttachmentFile file, SubmitterType submitterType) { SubmitterType = submitterType; Attachment = file; Deleted = BaseStatusDeleted.None; }