コード例 #1
0
        public async Task <bool> DeleteUserFromSSOviaPointmap(User user)
        {
            var _ssoAPI         = new SSO_APIService();
            var requestResponse = await _ssoAPI.DeleteUserFromSSO(user);

            if (requestResponse.IsSuccessStatusCode)
            {
                return(true);
            }
            // throw response of request
            throw new KFCSSOAPIRequestException(requestResponse.Content.ToString());
        }
コード例 #2
0
ファイル: SSO_Manager.cs プロジェクト: cf2080/RED-dBate
        public async Task <bool> DeleteAccountSSO(User user)
        {
            var SSO_API     = new SSO_APIService();
            var deletedUser = await SSO_API.DeleteUserFromSSO(user);

            if (deletedUser.IsSuccessStatusCode)
            {
                return(true);
            }

            return(false);
        }