return $http({ method: "post", url: "/myform/AddEmployee", data: '{ "EmpDetail":' + JSON.stringify(employee) + ', "File_ID":' + File_ID + '}', //data: JSON.stringify(employee,File_ID), dataType: "json" })
public string AddEmployee(EmpDetail Emp, int? File_ID) { .... }
data: JSON.stringify({ "EmpDetail": employee, "File_ID": File_ID })
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)