static void Main(string[] args) { AutoMapperManualConfiguration.Configure(); var container = new WindsorContainer(); container.Install(new SamuraiSandboxWindsorInstaller()); var footballService = container.Resolve<IFootballFacadeAdminService>(); var tennisService = container.Resolve<ITennisFacadeAdminService>(); var samuraiConsole = new SamuraiConsole(footballService, tennisService); samuraiConsole.SamuraiMenu(); }
static void Main(string[] args) { AutoMapperManualConfiguration.Configure(); var container = new WindsorContainer(); container.Install(new SamuraiSandboxWindsorInstaller()); var footballService = container.Resolve <IFootballFacadeAdminService>(); var tennisService = container.Resolve <ITennisFacadeAdminService>(); var samuraiConsole = new SamuraiConsole(footballService, tennisService); samuraiConsole.SamuraiMenu(); }