public IActionResult GetRole()
        {
            var accessTokenAsString = JwtHelper.GetTokenSubstring(Request.Headers["Authorization"].ToString());
            var userCredentials     = JwtHelper.GetCredentialsFromToken(accessTokenAsString);

            var role = _refreshTokenRepository.GetRole(userCredentials.Id);

            if (string.IsNullOrEmpty(role))
            {
                return(NotFound());
            }

            return(Ok(role));
        }