title: Passing multiple parameter to DELETE request c# web API
body: <p>My question is how can I pass multiple parameter to DELETE request. </p>
  
  <p>My controller class as follow,</p>
  
  <pre><code>namespace MYAPI1.Controllers
  {
      public class TaskController : ApiController
      {
          // DELETE: api/Task/5
          [Route("api/Task/id1/id2/{id3}")]
          public void Delete(int id,int id2, string id3)
          {
              TaskPersistent tp = new TaskPersistent();
              tp.deleteTask(id,id2,id3);
          }
      }
  }
  </code></pre>
  
  <p>TaskPersistent.class as follow,</p>
  
  <pre><code>public class TaskPersistent
  {
      public void deleteTask(int id, int id2, string id3)
      {
  
          try
          {
              string sqlString = "DELETE from devproj WHERE (DeveloperID, ProjectID, WorkDate) =  VALUES ('" + id + "', '" + id2 + "', '" + id3 + "');";
              MySql.Data.MySqlClient.MySqlCommand cmd = new MySql.Data.MySqlClient.MySqlCommand(sqlString, conn);
              cmd.ExecuteNonQuery();
              long x = cmd.LastInsertedId;
  
          }
          catch (Exception x)
          {
              Console.WriteLine(x);
          }
  
      }
  
  }
  </code></pre>
  
  <p>I try to consume this using postman like this,<code>http://localhost:10927/api/Task?id1=1&amp;id2=5&amp;id3="2018-03-14"</code>
  but which not working, please help me to solve this.</p>