public void RegisterService(Container clientContainer) { var domainEntry = new DomainGate(); clientContainer.RegisterSingleton(domainEntry.CustomerService); clientContainer.RegisterSingleton(domainEntry.OrderService); clientContainer.RegisterSingleton(domainEntry.ProductService); }
protected void Application_Start(object sender, EventArgs e) { CurrentDomainGate = new DomainGate(); }