public void Delete(DeleteDevice request) { var sessions = _authRepo.Get(new AuthenticationInfoQuery { DeviceId = request.Id }).Items; foreach (var session in sessions) { _sessionManager.Logout(session); } }
public void Delete(DeleteDevice request) { var task = _deviceManager.DeleteDevice(request.Id); Task.WaitAll(task); }
public void Delete(DeleteDevice request) { _deviceManager.DeleteDevice(request.Id); }