public IActionResult Post([FromBody] User value)
        {
            if (!_validator.Valid(value))
            {
                return(BadRequest(_validator.GetInvalidMessage(value)));
            }

            var user = _context.Users.Add(value).Entity;

            _context.SaveChanges();

            return(Ok(user));
        }