title: Replace Route action function with a controller
body: <p>How could I add this function:</p>
  <pre class="lang-php prettyprint-override"><code>function(){
    return &quot;Message sent&quot;;
  }
  </code></pre>
  <p>To this part of code:</p>
  <pre class="lang-php prettyprint-override"><code>Route::get('/send-testenrollment', [TestsEnrollmentController::class, 'sendTestNotification']);
  </code></pre>