Beispiel #1
0
        public IHttpActionResult PostUserDetail(proc_UserRegistration1_Result userdetail)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest(ModelState));
            }
            //db.tblUsers.Add(tblUser);
            db.proc_UserRegistration1();
            db.SaveChanges();

            return(CreatedAtRoute("DefaultApi", new { id = userdetail.UID }, userdetail));
        }