Пример #1
0
 public void SetSubmittedFile(SubmittedFile submittedFile, Boolean allowRemove, Boolean allowUpload)
 {
     if (submittedFile != null)
     {
         Submitted = new dtoSubmittedFile(submittedFile);
     }
     AllowRemove = allowRemove;
     AllowUpload = allowUpload;
 }
Пример #2
0
 public dtoCallSubmissionFile(RequestedFile requestedFile, SubmittedFile submittedFile, Boolean allowRemove, Boolean allowUpload)
 {
     Id           = requestedFile.Id;
     FileToSubmit = new dtoCallRequestedFile(requestedFile);
     if (submittedFile != null)
     {
         Submitted = new dtoSubmittedFile(submittedFile);
     }
     AllowRemove = allowRemove;
     AllowUpload = allowUpload;
     FieldError  = Domain.FieldError.None;
 }