public HttpResponseMessage Post(EmployeeRegister er) { int id = RegisterDA.InsertEmployeeRegister(er); HttpResponseMessage message = new HttpResponseMessage(HttpStatusCode.OK); message.Content = new StringContent(id.ToString()); return(message); }