Exemplo n.º 1
0
        public IActionResult AcceptedTerms([FromBody] User user)
        {
            User userObj = Component.Get(user.IdUser);

            if (userObj == null)
            {
                return(NotFound());
            }

            Component.AcceptedTerms(userObj);

            return(Ok());
        }