public async Task <IActionResult> Register([FromForm] RegisterVM registerVM)
        {
            var result = await _memberClient.Register(registerVM);

            if (result.Status == Status.Error)
            {
                TempData["RegisterErrorMessage"] = result.Message;
                return(RedirectToAction("Register"));
            }

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