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