//create user // POST: api/User public HttpResponseMessage Post([FromBody] user_Info u) { ResultModel result = respository.Newuser(u); var response = Request.CreateResponse <ResultModel>(System.Net.HttpStatusCode.OK, result); return(response); }
//create user // POST: api/User public HttpResponseMessage Post([FromBody] user_Info u) { ResultModel result = respository.Newuser(u); var response = Request.CreateResponse <ResultModel>(System.Net.HttpStatusCode.OK, result); return(response); }