protected override void ViewModelLoaded() { var masterViewModel = new DSS2_SynchromodalityCapacityOptimisation.UI.ViewModels.MasterPageSignIn.MasterPageSignInViewModel { }; _parentController = new MasterPageSignIn.MasterPageSignInController(masterViewModel); _parentController.IsDirty = IsDirty; }
protected override void ViewModelLoaded() { var masterViewModel = new DSS4_ECompliance.UI.ViewModels.MasterPageSignIn.MasterPageSignInViewModel { }; _parentController = new MasterPageSignIn.MasterPageSignInController(masterViewModel); _parentController.IsDirty = IsDirty; }
protected override void ViewModelLoaded() { var masterViewModel = new DSS1_RetailerDriverStockOptimisation.UI.ViewModels.MasterPageSignIn.MasterPageSignInViewModel { }; _parentController = new MasterPageSignIn.MasterPageSignInController(masterViewModel); _parentController.IsDirty = IsDirty; }
protected override void ViewModelLoaded() { var masterViewModel = new DSS5_SupplyChainFinancialsOptimisation.UI.ViewModels.MasterPageSignIn.MasterPageSignInViewModel { }; _parentController = new MasterPageSignIn.MasterPageSignInController(masterViewModel); _parentController.IsDirty = IsDirty; }
protected override void ViewModelLoaded() { var masterViewModel = new DSS3_LogisticsPoolingForUrbanDistribution.UI.ViewModels.MasterPageSignIn.MasterPageSignInViewModel { }; _parentController = new MasterPageSignIn.MasterPageSignInController(masterViewModel); _parentController.IsDirty = IsDirty; }
/*<ControllerActionImplementation:Render:1/>*/ public ActionResult ExecuteRender() { if (_parentController == null) { _parentController = new MasterPageSignIn.MasterPageSignInController(new DSS4_ECompliance.UI.ViewModels.MasterPageSignIn.MasterPageSignInViewModel()); } ((MasterPageSignIn.MasterPageSignInController)_parentController).ExecuteRender(); ActionResult _result = null; return(_result); }
/*<ControllerActionImplementation:Render:1/>*/ public ActionResult ExecuteRender() { if (_parentController == null) { _parentController = new MasterPageSignIn.MasterPageSignInController(new DSS3_LogisticsPoolingForUrbanDistribution.UI.ViewModels.MasterPageSignIn.MasterPageSignInViewModel()); } ((MasterPageSignIn.MasterPageSignInController)_parentController).ExecuteRender(); ActionResult _result = null; return(_result); }
/*<ControllerActionImplementation:Render:1/>*/ public ActionResult ExecuteRender() { if (_parentController == null) { _parentController = new MasterPageSignIn.MasterPageSignInController(new DSS2_SynchromodalityCapacityOptimisation.UI.ViewModels.MasterPageSignIn.MasterPageSignInViewModel()); } ((MasterPageSignIn.MasterPageSignInController)_parentController).ExecuteRender(); ActionResult _result = null; return(_result); }
/*<ControllerActionImplementation:Index:1/>*/ public ActionResult ExecuteIndex() { if (_parentController == null) { _parentController = new MasterPageSignIn.MasterPageSignInController(new DSS5_SupplyChainFinancialsOptimisation.UI.ViewModels.MasterPageSignIn.MasterPageSignInViewModel()); } ((MasterPageSignIn.MasterPageSignInController)_parentController).ExecuteRender(); ActionResult _result = null; _result = this.ExecuteAuthorizeAccess(); return(_result); }
/*<ControllerActionImplementation:Index:1/>*/ public ActionResult ExecuteIndex() { if (_parentController == null) { _parentController = new MasterPageSignIn.MasterPageSignInController(new DSS1_RetailerDriverStockOptimisation.UI.ViewModels.MasterPageSignIn.MasterPageSignInViewModel()); } ((MasterPageSignIn.MasterPageSignInController)_parentController).ExecuteRender(); ActionResult _result = null; _result = this.ExecuteAuthorizeAccess(); return(_result); }
/*<ControllerActionImplementation:Render:1/>*/ public ActionResult ExecuteRender() { if (_parentController == null) { _parentController = new MasterPageSignIn.MasterPageSignInController(new DSS2_SynchromodalityCapacityOptimisation.UI.ViewModels.MasterPageSignIn.MasterPageSignInViewModel()); } ((MasterPageSignIn.MasterPageSignInController)_parentController).ExecuteRender(); ActionResult _result = null; @model.StackTrace = zAppDev.DotNet.Framework.Utilities.Common.GetLastError().StackTrace; @model.ErrorMessage = zAppDev.DotNet.Framework.Utilities.Common.GetLastError().Message; @model.FriendlyErrorMessage = zAppDev.DotNet.Framework.Utilities.Common.GetLastError().GetFriendlyMessage(); return(_result); }
/*<ControllerActionImplementation:Render:1/>*/ public ActionResult ExecuteRender() { if (_parentController == null) { _parentController = new MasterPageSignIn.MasterPageSignInController(new DSS3_LogisticsPoolingForUrbanDistribution.UI.ViewModels.MasterPageSignIn.MasterPageSignInViewModel()); } ((MasterPageSignIn.MasterPageSignInController)_parentController).ExecuteRender(); ActionResult _result = null; @model.StackTrace = zAppDev.DotNet.Framework.Utilities.Common.GetLastError().StackTrace; @model.ErrorMessage = zAppDev.DotNet.Framework.Utilities.Common.GetLastError().Message; @model.FriendlyErrorMessage = zAppDev.DotNet.Framework.Utilities.Common.GetLastError().GetFriendlyMessage(); return(_result); }
/*<ControllerActionImplementation:Load:1/>*/ public ActionResult ExecuteLoad() { if (_parentController == null) { _parentController = new MasterPageSignIn.MasterPageSignInController(new DSS4_ECompliance.UI.ViewModels.MasterPageSignIn.MasterPageSignInViewModel()); } ((MasterPageSignIn.MasterPageSignInController)_parentController).ExecuteRender(); ActionResult _result = null; if ((new DSS4_ECompliance.DAL.Repository().GetCount <zAppDev.DotNet.Framework.Identity.Model.ApplicationUser>((u) => u.Roles.Any((r) => r.Name == "Administrator")) == 0)) { _result = GetRedirectInfo("CreateAdmin", "Index", new RouteValueDictionary(new { })); } else if ((zAppDev.DotNet.Framework.Identity.IdentityHelper.GetCurrentApplicationUser() != null)) { _result = GetRedirectInfo("HomePage", "Render", new RouteValueDictionary(new { })); } return(_result); }