Exemple #1
0
        public void Delete(DeleteDevice request)
        {
            var sessions = _authRepo.Get(new AuthenticationInfoQuery
            {
                DeviceId = request.Id
            }).Items;

            foreach (var session in sessions)
            {
                _sessionManager.Logout(session);
            }
        }
Exemple #2
0
        public void Delete(DeleteDevice request)
        {
            var task = _deviceManager.DeleteDevice(request.Id);

            Task.WaitAll(task);
        }
 public void Delete(DeleteDevice request)
 {
     _deviceManager.DeleteDevice(request.Id);
 }