public static Tuple <string, int, int> invokeBackEndDeploy(string arch_ref, string backend_address, string[] config)
        {
            //ServiceUtils.BackendServices.BackendServices backend_access = new ServiceUtils.BackendServices.BackendServices (backend_address);
            //backend_access.Timeout = int.MaxValue;

            //string platform_address = backend_access.deploy (config);

            // ACESSANDO O BACKEND DO CLUSTER DO LIA ...
            //ServiceUtils.LIABackendServices.BackEndService backend_access = new ServiceUtils.LIABackendServices.BackEndService (backend_address);
            //backend_access.Timeout = int.MaxValue;



            IBackendServices backend_access = (IBackendServices)Activator.CreateInstance(Type.GetType(backend_services [backend_address]), new string[1] {
                backend_address
            });

            string platform_address = backend_access.deploy(config[1]);

            Console.WriteLine("PLATFORM ADDRESS (" + arch_ref + "): " + platform_address);

            platform_address = platform_address.Replace("Platform.asmx", "PlatformServices.asmx");

            Thread.Sleep(5000);

            ServiceUtils.PlatformServices.PlatformServices platform_access = new ServiceUtils.PlatformServices.PlatformServices(platform_address);
            platform_access.Timeout = int.MaxValue;
            int base_binding_address = platform_access.getBaseBindingPort();

            platform_access.setPlatformRef(arch_ref);

            int nodes = platform_access.getNumberOfNodes();

            return(new Tuple <string, int, int> (platform_address, base_binding_address, nodes));
        }
 public OrdersController(IBackendServices backendServices)
 {
     _backend = backendServices;
 }
 public AccountController(IBackendServices backendServices)
 {
     _backend = backendServices;
 }
 public InventoryController(IBackendServices backendServices)
 {
     _backend = backendServices;
 }
 public UserController(IBackendServices backendService)
 {
     _backend = backendService;
 }
 public HomeController(IBackendServices backendServices)
 {
     _backend = backendServices;
 }