public UserController() { _proxy = new UserRepositoryProxy(); _bootstrapper = new BootStrapper(); _bootstrapper.InitializeApplication(); }
public UserController(IUserRepositoryProxy proxy, IBootStrapper bootstrapper) { _proxy = proxy; _bootstrapper = bootstrapper; _bootstrapper.InitializeApplication(); }
protected void Application_Start() { AreaRegistration.RegisterAllAreas(); WebApiConfig.Register(GlobalConfiguration.Configuration); FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters); _bootstrapper = new BootStrapper(); _bootstrapper.InitializeApplication(); }