public async Task <IActionResult> ForgotUserName([FromBody] ForgotUserNameDTO forgotUserNameDTO)
        {
            if (!ModelState.IsValid)
            {
                return(CustomResponse(ModelState));
            }

            var user = await _userManager.FindByEmailAsync(forgotUserNameDTO.Email);

            if (user == null)
            {
                AddError("This user was not found.");
                return(CustomResponse());
            }

            if (await _emailSenderService.SendForgotUserNameEmail(user.Email, user.UserName))
            {
                return(CustomResponse());
            }

            AddError("Email cannot be sent.");
            return(CustomResponse());
        }