public IActionResult ConfirmEmail(string UserId, string token) { var result = _registerUserService.ConfirmEmail(UserId, token).IsSuccess; if (result == true) { return(View("~/signin")); } else { return(BadRequest()); } }