title: Call Symfony controller action from form submit action
body: <p>hello i am new to  Symfony 3.4 , i have a form in my html.twig file i want when it's submitted to get the values of it's inputs and pass them to an action in my controller class in order to insert them to the database ,</p>
  
  <p>this is the form (reserver.html.twig) :</p>
  
  <pre><code>&lt;h1&gt;reserver&lt;/h1&gt;
  &lt;form action="" method ="post"&gt;
     &lt;input type="text" name="seat"&gt;
     &lt;input type="text" name="type"&gt;
     &lt;input type="text" name="quantity"&gt;
     &lt;input type="submit"&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>my conroller class : </p>
  
  <pre><code>class reservationController extends Controller
  {
      public function CreateReservationtAction(String seat ,String type ,String Quantity){      
          //code to insert into database
          return $this-&gt;render("pages/reserver.html.twig");
         }
  }
  </code></pre>
  
  <p>this is my routing file : </p>
  
  <pre><code>techevent_reservation:
      path:     /res
      defaults: { _controller: techeventBundle:reservation:CreateReservation }
  </code></pre>
  
  <p>i dont have errors yet i want to know the syntax how it will be done and thanks :)</p>