public async Task <ActionResult> Register(RegisterUser registerUser)
        {
            if (!ModelState.IsValid)
            {
                return(View(registerUser));
            }

            var response = await _authenticateService.RegisterUser(registerUser);

            if (HasErrorsInResponse(response.ResponseErrorResult))
            {
                return(View(registerUser));
            }

            await _authenticateService.ConnectAccount(response);

            return(RedirectToAction("Index", "Catalog"));
        }