Exemple #1
0
        public GetPermissionKeysResponse getPermissionKeys(GetPermissionKeysRequest getPermissionKeysRequest)
        {
            try
            {
                Log.Info("ConfirmationsManager GetPermissionKeysRequest: " + (getPermissionKeysRequest == null ? "null" : getPermissionKeysRequest.ToString()));
                var permissionKeyCodes = new String[] { "permissionKeyCode1", "permissionKeyCode2" };

                var response = new GetPermissionKeysResponse(true, permissionKeyCodes);

                Log.Info("ConfirmationsManager getPermissionKeys: " + (response == null ? "null" : response.ToString()));
                return(response);
            }
            catch (Exception e)
            {
                Log.Error("Failed to process GetPermissionKeysRequest() service call", e);
                throw e;
            }
        }
        public GetPermissionKeysResponse getPermissionKeys(GetPermissionKeysRequest getPermissionKeysRequest)
        {
            try
            {
                Log.Info("ConfirmationsManager GetPermissionKeysRequest: " + (getPermissionKeysRequest == null ? "null" : getPermissionKeysRequest.ToString()));
                var permissionKeyCodes = new String[] { "permissionKeyCode1", "permissionKeyCode2" };

                var response = new GetPermissionKeysResponse(true, permissionKeyCodes);

                Log.Info("ConfirmationsManager getPermissionKeys: " + (response == null ? "null" : response.ToString()));
                return response;
            }
            catch (Exception e)
            {
                Log.Error("Failed to process GetPermissionKeysRequest() service call", e);
                throw e;
            }
        }