/// <summary> /// Remove device /// </summary> /// <param name="param">Device Token Request Model</param> /// <remarks>Use access token of member model for request authorized API</remarks> public ResultModel RevokeDeviceToken(DeviceTokenRequestModel param) { ResultModel result = new ResultModel(); try { MemberBL bl = new MemberBL(); bl.RevokeDevice(param); result.Status = true; result.Message = "Your token has been revoked"; } catch (OrgException oex) { result.Status = false; result.Message = oex.Message; } catch (Exception ex) { result.Status = false; result.Message = AppConfigs.InternalErrorMessage; if (AppConfigs.DebugInternalMessage) { result.InternalMessage = ex.Message; } } return(result); }