Ejemplo n.º 1
0
        public IActionResult Post([FromBody] User user)
        {
            int userId = _businessLayer.CreateUser(user);

            return(Created($"{_resourceUrl}{userId}", userId));
        }