Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
wp-content
/
plugins
/
fluentform
/
app
/
Http
/
Controllers
:
SubmissionNoteController.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php namespace FluentForm\App\Http\Controllers; use Exception; use FluentForm\App\Services\Submission\SubmissionService; class SubmissionNoteController extends Controller { public function get(SubmissionService $submissionService, $submissionId) { try { return $this->sendSuccess( $submissionService->getNotes($submissionId, $this->request->all()) ); } catch (Exception $exception) { return $this->sendError([ 'message' => $exception->getMessage(), ]); } } public function store(SubmissionService $submissionService, $submissionId) { try { return $this->sendSuccess( $submissionService->storeNote($submissionId, $this->request->all()) ); } catch (Exception $exception) { return $this->sendError([ 'message' => $exception->getMessage(), ]); } } }