public async Task <IActionResult> ConfirmEmail([FromBody] ConfirmEmailRequest request)
        {
            var user = await _userManager.FindByIdAsync(request.UserID);

            if (user == null)
            {
                return(BadRequest());
            }

            var result = await _userManager.ConfirmEmailAsync(user, request.Code);

            if (result.Succeeded)
            {
                return(Ok());
            }

            return(BadRequest());
        }