public AccountController() { var kernel = new StandardKernel(new BllBindings()); kernel.Load(Assembly.GetExecutingAssembly()); _staticPageManager = kernel.Get <IStaticPageManager>(); }
public AdminController() { var kernel = new StandardKernel(new BllBindings()); kernel.Load(Assembly.GetExecutingAssembly()); //_postManager = kernel.Get<IPostManager>(); _inquiryManager = kernel.Get <IInquiryManager>(); _staticPageManager = kernel.Get <IStaticPageManager>(); }
public StaticPageManagerTests() { var kernel = new StandardKernel(new BllBindings()); kernel.Load(Assembly.GetExecutingAssembly()); _staticPageManager = kernel.Get <IStaticPageManager>(); _testStaticPage = new StaticPage { Title = "TESTstaticPAGEfromMgr", Content = "MgrTest", IsLive = true, ImagePath = "Blah/" }; }
//private readonly ICategoryManager _categoryManager; //private readonly ITagManager _tagManager; public HomeController() { var kernel = new StandardKernel(new BllBindings()); kernel.Load(Assembly.GetExecutingAssembly()); _blogManager = kernel.Get <IBlogManager>(); _staticPageManager = kernel.Get <IStaticPageManager>(); _postManager = kernel.Get <IPostManager>(); _inquiryManager = kernel.Get <IInquiryManager>(); //_categoryManager = kernel.Get<ICategoryManager>(); //_tagManager = kernel.Get<ITagManager>(); }