public function Execute(Database $database) { $database->Execute(new RemoveReservationAttachmentCommand($this->event->FileId())); ServiceLocator::GetFileSystem()->RemoveFile(Paths::ReservationAttachments() . $this->event->FileName()); }
/** * @return string */ public function GetReservationAttachmentsPath() { return Paths::ReservationAttachments(); }