public async Task <IActionResult> Login([FromForm] LoginVM loginVM) { var result = await _memberClient.Login(loginVM); if (result.Status == Status.Error) { TempData["TrySignInErrorMessage"] = result.Message; return(RedirectToAction("Login")); } return(RedirectToAction("Index", "Home")); }