Delete() public static method

public static Delete ( IEnumerable fileIds ) : void
fileIds IEnumerable
return void
 public void Handle(ExceptionThrownLocalMessage message)
 {
     message.SagaId = Data.OuterSagaId;
     AttachmentFolder.Delete(Data.FileIds);
     SendLocal(message);
     MarkAsComplete();
 }
        public void Handle(AttachmentCreatedMessageInternal message)
        {
            var attachments = new List <AttachmentDTO>(Data.ProcessedAttachments)
            {
                message.AttachmentDto
            };

            Data.ProcessedAttachments = attachments.ToArray();
            if (Data.ProcessedAttachments.Count() == Data.AttachmentsCount)
            {
                if (Data.MessageId.HasValue)
                {
                    Log().InfoFormat("Attachments {0} were added to message with id {1}",
                                     Data.ProcessedAttachments.Select(x => x.OriginalFileName).ToString(","), Data.MessageId);
                }
                else
                {
                    Log().InfoFormat("Attachments {0} were added to general with id {1}",
                                     Data.ProcessedAttachments.Select(x => x.OriginalFileName).ToString(","), Data.GeneralId);
                }

                AttachmentFolder.Delete(Data.FileIds);

                SendSuccessfullMessage();
            }
        }