[assembly: WebActivatorEx.PreApplicationStartMethod(typeof(NewsSystem.App_Start.NinjectWeb), "Start")]

namespace NewsSystem.App_Start
{
    using Microsoft.Web.Infrastructure.DynamicModuleHelper;

    using Ninject.Web;

    public static class NinjectWeb 
    {
        /// <summary>
        /// Starts the application
        /// </summary>
        public static void Start() 
        {
            DynamicModuleUtility.RegisterModule(typeof(NinjectHttpModule));
        }
    }
}
