public void Execute() { Console.Write("Rule name: "); string ruleName = Console.ReadLine(); RulesManager manager = new RulesManager(); if (manager.Remove(ruleName)) { Console.WriteLine("Rule removed succesfully!"); return; } Console.WriteLine("Something when wrong."); }