/// <summary> /// Remove a business process from the database /// </summary> /// <param name="businessProcess">The business process to remove</param> public void Remove(BusinessProcess businessProcess) { try { _logger.LogInformation($"Remove a business process ({businessProcess.Source} - {businessProcess.Process} - {businessProcess.Destination}) to the database"); _context.Remove(businessProcess); _context.SaveChanges(); } catch (Exception ex) { _logger.LogError($"Could not remove business process ({businessProcess.Source} - {businessProcess.Process} - {businessProcess.Destination}) to database", ex); } }