Ejemplo n.º 1
0
        public UserController()
        {
            _proxy = new UserRepositoryProxy();
            _bootstrapper = new BootStrapper();

            _bootstrapper.InitializeApplication();
        }
Ejemplo n.º 2
0
        public UserController(IUserRepositoryProxy proxy, IBootStrapper bootstrapper)
        {
            _proxy = proxy;
            _bootstrapper = bootstrapper;

            _bootstrapper.InitializeApplication();
        }
Ejemplo n.º 3
0
        protected void Application_Start()
        {
            AreaRegistration.RegisterAllAreas();

            WebApiConfig.Register(GlobalConfiguration.Configuration);
            FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);

            _bootstrapper = new BootStrapper();

            _bootstrapper.InitializeApplication();
        }