public UploadedDocument(UploadedDocument document) { DocReqId = document.DocReqId; FileName = document.FileName; FilePath = document.FilePath; Prefix = document.Prefix; UserId = document.UserId; FileId = document.FileId; }
public static UploadedDocument CreateNewActive(UploadedDocument document) { return new UploadedDocument(document) {Active = true}; }