Esempio n. 1
0
        static void Main(string[] args)
        {
            using (AdminProxy proxy = new AdminProxy(new NetTcpBinding(), Config.AdminServiceAddress))
            {
                int op = -1;

                while (op != 0)
                {
                    op = DisplayAdminMenu();
                    ExecuteCommand(proxy, op);
                }
            }
        }
Esempio n. 2
0
 static void ExecuteCommand(AdminProxy proxy, int op)
 {
     HelperFunctions.ExecuteCommandAdmin(proxy, op);
 }