public new DSS5_SupplyChainFinancialsOptimisation.UI.ViewModels.DevTool.DevToolViewModel GetModel() { var alreadySeenInstance = DTOHelper.GetSeenModelInstance <DSS5_SupplyChainFinancialsOptimisation.UI.ViewModels.DevTool.DevToolViewModel>(_clientKey, _originalTypeClassName, _baseClasses); if (alreadySeenInstance != null) { return(alreadySeenInstance); } return(new DSS5_SupplyChainFinancialsOptimisation.UI.ViewModels.DevTool.DevToolViewModel()); }
public new DSS3_LogisticsPoolingForUrbanDistribution.UI.ViewModels.HomePage.HomePageViewModel GetModel() { var alreadySeenInstance = DTOHelper.GetSeenModelInstance <DSS3_LogisticsPoolingForUrbanDistribution.UI.ViewModels.HomePage.HomePageViewModel>(_clientKey, _originalTypeClassName, _baseClasses); if (alreadySeenInstance != null) { return(alreadySeenInstance); } return(new DSS3_LogisticsPoolingForUrbanDistribution.UI.ViewModels.HomePage.HomePageViewModel()); }
public new DSS4_ECompliance.UI.ViewModels.SignInPage.SignInPageViewModel GetModel() { var alreadySeenInstance = DTOHelper.GetSeenModelInstance <DSS4_ECompliance.UI.ViewModels.SignInPage.SignInPageViewModel>(_clientKey, _originalTypeClassName, _baseClasses); if (alreadySeenInstance != null) { return(alreadySeenInstance); } return(new DSS4_ECompliance.UI.ViewModels.SignInPage.SignInPageViewModel()); }
public new DSS1_RetailerDriverStockOptimisation.UI.ViewModels.AgreementList.AgreementListViewModel GetModel() { var alreadySeenInstance = DTOHelper.GetSeenModelInstance <DSS1_RetailerDriverStockOptimisation.UI.ViewModels.AgreementList.AgreementListViewModel>(_clientKey, _originalTypeClassName, _baseClasses); if (alreadySeenInstance != null) { return(alreadySeenInstance); } return(new DSS1_RetailerDriverStockOptimisation.UI.ViewModels.AgreementList.AgreementListViewModel()); }
public zAppDev.DotNet.Framework.Identity.Model.ApplicationUser GetModel() { var alreadySeenInstance = DTOHelper.GetSeenModelInstance <zAppDev.DotNet.Framework.Identity.Model.ApplicationUser>(_clientKey, _originalTypeClassName, _baseClasses); if (alreadySeenInstance != null) { return(alreadySeenInstance); } if (_key == null) { return(null); } var rawKey = _key.ToString(); var parsedKey = (rawKey); if (parsedKey == default(string) || Equals(parsedKey, default(string))) { return(new zAppDev.DotNet.Framework.Identity.Model.ApplicationUser()); } return(new DAL.Repository().GetById <zAppDev.DotNet.Framework.Identity.Model.ApplicationUser>(parsedKey, false)); }
public DSS1_RetailerDriverStockOptimisation.BO.Warehouse GetModel() { var alreadySeenInstance = DTOHelper.GetSeenModelInstance <DSS1_RetailerDriverStockOptimisation.BO.Warehouse>(_clientKey, _originalTypeClassName, _baseClasses); if (alreadySeenInstance != null) { return(alreadySeenInstance); } if (_key == null) { return(null); } var rawKey = _key.ToString(); var parsedKey = int.Parse(rawKey); if (parsedKey == default(int) || Equals(parsedKey, default(int))) { return(new DSS1_RetailerDriverStockOptimisation.BO.Warehouse()); } return(new DAL.Repository().GetById <DSS1_RetailerDriverStockOptimisation.BO.Warehouse>(parsedKey, false)); }
public DSS5_SupplyChainFinancialsOptimisation.BO.Supplier GetModel() { var alreadySeenInstance = DTOHelper.GetSeenModelInstance <DSS5_SupplyChainFinancialsOptimisation.BO.Supplier>(_clientKey, _originalTypeClassName, _baseClasses); if (alreadySeenInstance != null) { return(alreadySeenInstance); } if (_key == null) { return(null); } var rawKey = _key.ToString(); var parsedKey = (rawKey); if (parsedKey == default(string) || Equals(parsedKey, default(string))) { return(new DSS5_SupplyChainFinancialsOptimisation.BO.Supplier()); } return(new DAL.Repository().GetById <DSS5_SupplyChainFinancialsOptimisation.BO.Supplier>(parsedKey, false)); }
public new DSS5_SupplyChainFinancialsOptimisation.UI.ViewModels.PendingRegisteredSuppliersList.PendingRegisteredSuppliersListViewModel GetModel() { var alreadySeenInstance = DTOHelper.GetSeenModelInstance<DSS5_SupplyChainFinancialsOptimisation.UI.ViewModels.PendingRegisteredSuppliersList.PendingRegisteredSuppliersListViewModel>(_clientKey, _originalTypeClassName, _baseClasses); if (alreadySeenInstance != null) return alreadySeenInstance; return new DSS5_SupplyChainFinancialsOptimisation.UI.ViewModels.PendingRegisteredSuppliersList.PendingRegisteredSuppliersListViewModel(); }
public new DSS1_RetailerDriverStockOptimisation.UI.ViewModels.NotFoundPage.NotFoundPageViewModel GetModel() { var alreadySeenInstance = DTOHelper.GetSeenModelInstance<DSS1_RetailerDriverStockOptimisation.UI.ViewModels.NotFoundPage.NotFoundPageViewModel>(_clientKey, _originalTypeClassName, _baseClasses); if (alreadySeenInstance != null) return alreadySeenInstance; return new DSS1_RetailerDriverStockOptimisation.UI.ViewModels.NotFoundPage.NotFoundPageViewModel(); }