Exemplo n.º 1
0
        public ActionResult <UserDetails> Create(UserDetails UserDetails)
        {
            _UserDetailsService.Create(UserDetails);

            return(CreatedAtRoute("GetUserDetails", new { id = UserDetails.Id.ToString() }, UserDetails));
        }
 public void Post([FromBody] UserDetailsVM value)
 {
     uds.Create(value);
 }