예제 #1
0
 public function Execute(Database $database)
 {
     $database->Execute(new RemoveReservationAttachmentCommand($this->event->FileId()));
     $fileSystem = ServiceLocator::GetFileSystem();
     $fileSystem->RemoveFile($fileSystem->GetReservationAttachmentsPath() . $this->event->FileName());
 }