private static void DatabaseCommands(IApp app) { Console.WriteLine("configure|create|statistics|delete"); string commad = Console.ReadLine(); switch (commad.Trim().ToLower()) { case "configure": app.ConfigureArabgoDbDatabase(); break; case "create": app.CreateDatabase(); break; case "statistics": app.DatabaseStatistics(); break; case "delete": app.DeleteDatabase(); break; } }