static WebContentManage() { _webContentDal = DependencyResolver.Current.GetService <IWebContentDal>(); _webContentTypeDal = DependencyResolver.Current.GetService <IWebContentTypeDal>(); _menuTypeDal = DependencyResolver.Current.GetService <IMenuTypeDal>(); InitWebContentTypes(); InitMenuTypes(); }
public SchoolInfoController() { _webContentDal = DependencyResolver.Current.GetService <IWebContentDal>(); _webContentTypeDal = DependencyResolver.Current.GetService <IWebContentTypeDal>(); }