public async Task PutClearToken(string identifier) { await _deviceRepository.ClearPushTokenByIdentifierAsync(identifier); }
public async Task ClearTokenAsync(Device device) { await _deviceRepository.ClearPushTokenByIdentifierAsync(device.Identifier); await _pushRegistrationService.DeleteRegistrationAsync(device.Id); }