Example #1
0
        public async Task <bool> UnRegisterUnit(PushUri pushUri)
        {
            await _unitNotificationProvider.UnRegisterPushByUserDeviceId(pushUri);

            _pushUriService.DeleteAllPushUrisByPlatformDevice((Platforms)pushUri.PlatformType, pushUri.DeviceId);

            return(true);
        }
Example #2
0
        public async Task <bool> UnRegisterUnit(PushUri pushUri)
        {
            await _unitNotificationProvider.UnRegisterPushByUserDeviceId(pushUri);

            return(true);
        }