private void AddNewProcess() { try { var newProcess = _processDetailService.GetNewProcesses(); if (newProcess != null && newProcess.Length > 0) { _loggerFactory.AddedProcessesLogged(newProcess); _view.AddNewProcess(newProcess); } } catch (Exception ex) { _loggerFactory.ErrorLogged(ex); } }