Пример #1
0
 internal void AttachmentAction(Context context, Column column, Attachments oldAttachments)
 {
     switch (Action)
     {
         case "Linked":
             FileContentResults.LinkBinary(
                 context: context,
                 attachment: this,
                 column: column);
             BinaryUtilities.OverwriteSameFileName(
                 attachments: oldAttachments,
                 fileName: Name);
             break;
         default:
             break;
     }
 }