title: Post Data Using AngularJS to MVC 2.0
body: <p>My AngularJs Post Request on Service.js:</p>
  
  <pre><code> this.Add = function (employee) {
           var response = $http({
              method: "post",
              url: "/Employee/Add",
              data: JSON.stringify(employee),
              dataType: "json",
          });
          return response;
      }
  </code></pre>
  
  <p>My Modal Class:</p>
  
  <pre><code> [Serializable]
      public class Employee
      {
          public Employee()
          { }
          public int ID { get; set; }
          public string FirstName { get; set; } 
          public string LastName { get; set; }
          public string UserName { get; set; } 
          public string Password { get; set; }
      }
  </code></pre>
  
  <p>Add Method of EmployeeController:</p>
  
  <pre><code> [HttpPost]
          public string Add(Employee employeeNew)
          {
                  if (employeeNew != null)
                  {
                      unitOfWork.EmployeeRepository.Insert(employeeNew);
                      unitOfWork.Save();
                      return "Record has been Added";
                  }
                  else
                  {
                      return "Record has Not been Verified";
                  } 
          }
  </code></pre>
  
  <p>I use MVC 2.0. When I made the request above, Employee class on the Add method was empty. On the other hand, when i looked at my add request, i saw that request had FirstName, LastName,UserName and Password values with full of correct data. How could I bind these properties to Employee object of on Add method.</p>