public async Task <IActionResult> QueueExport()
        {
            var email = GetEmailFromClaim(HttpContext);

            if (string.IsNullOrEmpty(email))
            {
                return(BadRequest("No email claim found."));
            }

            var result = await _manager.ExportDirectoryResults(email);

            if (!result.IsSuccessResult)
            {
                return(BadRequest(result.Message));
            }

            return(new ObjectResult(new
            {
                result.IsSuccessResult,
                result.Message
            }));
        }