public HttpResponseMessage Post([FromBody] Employee value) { if (employeeData.AddEmployee(value)) { return(Request.CreateResponse(HttpStatusCode.Created)); } else { return(Request.CreateResponse(HttpStatusCode.BadRequest)); } }