public static void Shutdown() { var container = UnityConfig.GetConfiguredContainer(); container.Dispose(); }
public static void Start() { var resolver = new UnityDependencyResolver(UnityConfig.GetConfiguredContainer()); GlobalConfiguration.Configuration.DependencyResolver = resolver; }