title: Delete Operation using ASP.Net MVC and Angular JS
body: <p>I am new to ASP.Net MVC and Angular JS. I am performing delete operations using these two technologies but I am getting 404 : page not found error while performing these operation.
  My Controller Code:</p>
  
  <pre><code>[HttpDelete]
      public ActionResult DeleteBranchMaster(int branchId)
      {
           //Deletion Logic.
      }
  </code></pre>
  
  <p>Angular Code:</p>
  
  <pre><code>//Delete Branch Data
  $scope.deleteBranchData = function (dataId) {
      $http.delete('/Master/DeleteBranchMaster?branchId=' + dataId);
  };
  </code></pre>
  
  <p>Error:
  <a href="https://i.stack.imgur.com/SKIpC.png" rel="nofollow noreferrer">enter image description here</a></p>