// PUT: api/TaskManager/5 public void UpdateProject([FromBody] Project project) { TaskManagerBL taskManagerBL = new TaskManagerBL(); taskManagerBL.UpdateProject(new DA.Project() { Project_ID = project.ProjectId, Project1 = project.Name, Priority = project.Priority, End_Date = Convert.ToDateTime(project.EndDate), Start_Date = Convert.ToDateTime(project.StartDate) }); }