protected void Application_Start() { GlobalConfiguration.Configure(WebApiConfig.Register); DependencyConfig.SetAutofacWebAPI(); }