Example #1
0
        public HttpResponseMessage Post(EmployeeRegister er)
        {
            int id = RegisterDA.InsertEmployeeRegister(er);


            HttpResponseMessage message = new HttpResponseMessage(HttpStatusCode.OK);

            message.Content = new StringContent(id.ToString());
            return(message);
        }