public WordController() : base() { CurrentLanguage = LanguageState.Default; CntrlWL = DBControllersFactory.WordLanguage(); CntrlLG = DBControllersFactory.Language(); foreach (var w in Select(new WordModel { }, "Id,WordInEnglish")) { en[w.WordInEnglish] = w.WordInEnglish; } }
private MainView() { InitializeComponent(); if (DesignMode || (Site != null && Site.DesignMode)) { return; } CntrlLG = DBControllersFactory.Language(); CntrlWD = DBControllersFactory.Word(); CntrlEG = DBControllersFactory.EntitlementGroup(); CntrlEN = DBControllersFactory.Entitlement(); CntrlET = DBControllersFactory.Entity(); CntrlPE = DBControllersFactory.ProfileEntitlement(); CntrlUS = DBControllersFactory.User(); }