title: Is there a way to check if the resource being updated/deleted exists in the validator? Laravel
body: <p>Currently, my controller delegates the <strong>CRUD</strong> operations to a <strong>CRUDService</strong>. </p>
  
  <p>When for example, I need to update a resource, this request pass through the validator first, and then to the <strong>CRUDService</strong>. If this one finds that the resource does not exists, it will respond with 404. </p>
  
  <p>Here's the snippet that performs this operation:</p>
  
  <pre><code>public function update($id, Request $input)
      {
          if ($this-&gt;notFound($id)) {
              return $this-&gt;response-&gt;notFound();
          }
  
          $input = $this-&gt;converter-&gt;convert($input);
          $this-&gt;model-&gt;where("id", $id)-&gt;update($input);
  
          return $this-&gt;response-&gt;updated();
      }
  
  
  private function notFound($id)
      {
          return !count($this-&gt;model-&gt;find($id));
      }
  </code></pre>
  
  <p>I'm wondering if there's a way to perform this check inside the FormRequest class... Any suggestions?</p>