title: error in webapi - cannot convert from 'System.Web.Mvc.JsonRequestBehavior' to 'Newtonsoft.Json.JsonSerializerSettings'
body: <p>in webapi jsonrequestbehaviour is not working , showing cannot convert 'System.Web.Mvc.JsonRequestBehavior' to 'Newtonsoft.Json.JsonSerializerSettings' </p>
  
  <p>code</p>
  
  <pre><code> public ActionResult AddTemprature(string EmployeeName, int EmployeeId, string Location)
          {
              try
              {
  
                  using (EmployeeDBEntities DB = new EmployeeDBEntities())
                  {
  
                      WebApi.Employee emp = new WebApi.Employee();
                      // EmployeeModel Emp = new EmployeeModel();
                      emp.EmpName = EmployeeName;
                      emp.EmpId = EmployeeId;
                      emp.EmpLocation = Location;
                      DB.Employees.Add(emp);
                      DB.SaveChanges();
                      return Json(true, JsonRequestBehavior.AllowGet);
                  }
              }
              catch (Exception Ex)
              {
  
              }
              return Json(false, JsonRequestBehavior.AllowGet);
          }
  </code></pre>