public IActionResult Post([FromBody] VacationRequest request)
        {
            var user = _accessTokenProvider.GetTokenPayload();

            if (user == null)
            {
                return(Unauthorized());
            }
            if (request == null)
            {
                _logger.Warning("Missing vacation request body", new { user });
                return(BadRequest());
            }

            request.UserId = user.UserId;
            _vacationRepository.CreateVacationRequest(request);
            return(StatusCode(201));
        }