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:
[HttpDelete]
public ActionResult DeleteBranchMaster(int branchId)
{
//Deletion Logic.
}
Angular Code:
//Delete Branch Data
$scope.deleteBranchData = function (dataId) {
$http.delete('/Master/DeleteBranchMaster?branchId=' + dataId);
};
Error: enter image description here