示例#1
0
        public async Task <ApiResponseDto> Logout(string returnUrl = null)
        {
            ApiResponseDto apiResponse = await _accountApiClient.Logout(returnUrl);

            NotifyAuthenticationStateChanged(GetAuthenticationStateAsync());
            return(apiResponse);
        }
示例#2
0
        public async Task <ApiResponseDto> Logout(string returnUrl = null)
        {
            ApiResponseDto apiResponse = await _accountApiClient.Logout(returnUrl);

            return(apiResponse);
        }