public void DeleteAllEvents() { try { if (_lsc.LockList(_loginSession, _serverName, _airList, _name)) { _loggerService.PrintInfo(GlobalFlags.InfoMessages.ListLocked); } _lsc.DeleteAllEvents(_loginSession, _serverName, _airList); Thread.Sleep(1000); _loggerService.PrintInfo(GlobalFlags.InfoMessages.DeleteAllEvents); _lsc.UnlockList(_loginSession, _serverName, _airList, _name); _loggerService.PrintInfo(GlobalFlags.InfoMessages.ListUnlocked); GetList(_airList); } catch (Exception) { return; //TODO ERROR Processing } }