public async Task CreateUser(RegisterDto registerDto)
        {
            User user = new User()
            {
                FullName = registerDto.FullName,
                Email    = registerDto.Username,
                Password = _hashingManager.GetHashedPassword(registerDto.Password),
                Username = registerDto.Username,
            };

            await CheckUserFields(user, false);

            //user.Password = _hashingManager.GetHashedPassword(user.Password);
            user.Email                = user.Username;
            user.IsActivated          = false;
            user.WasPasswordForgotten = false;
            user.WasPasswordChanged   = false;
            user.AvatarPath           = Constants.DEFAULT_IMAGE_USER;
            var token = _jwtService.GenerateRegisterJWT(user);
            await _emailSenderService.SendActivationEmail(user, token);

            user.RoleId = (int)RoleType.Regular;

            await _context.AddAsync(user);

            await _context.AddAsync(CreateEntityUser(user, registerDto.Role));

            await _context.SaveChangesAsync();
        }