public IActionResult AcceptedTerms([FromBody] User user) { User userObj = Component.Get(user.IdUser); if (userObj == null) { return(NotFound()); } Component.AcceptedTerms(userObj); return(Ok()); }