public ServerAnalysisViewModel Get21CentServersAnalysisViewModel() { var vm = new ServerAnalysisViewModel(); //vm.DB2ServersProd = this.GetDB2InstanceCountInZNAServersByProd(); vm.SQLServersProd = this.GetSqlInstanceCountIn21CentServersByProd(); vm.OracleServersProd = this.GetOracleInstanceCountIn21stCentServersByProd(); // vm.DB2ServersNonProd = this.GetDB2InstanceCountInZNAServersByNonProd(); vm.SQLServersNonProd = this.GetSqlInstanceCountIn21CentServersByNonProd(); vm.OracleServersNonProd = this.GetOracleInstanceCountIn21CentServersByNonProd(); vm.TechDetails = this.Get21StCentServersTechnologyDetails(); vm.EnvDetails = this.Get21stCentServersEnvironmentDetails(); vm.ServerTypeDetails = this.Get21stCentServerTypeDetails(); return(vm); }
public ServerAnalysisViewModel GetFarmerAnalysisViewModel() { var vm = new ServerAnalysisViewModel(); vm.DB2ServersProd = this.GetDB2ServersCountInFormersByProd(); vm.SQLServersProd = this.GetSqlServerCountInFormersByProd(); vm.OracleServersProd = this.GetOracleServersCountInFormersByProd(); vm.DB2ServersNonProd = this.GetDB2ServersCountInFormersByNonProd(); vm.SQLServersNonProd = this.GetSqlServerCountInFormersByNonProd(); vm.OracleServersNonProd = this.GetOracleServersCountInFormersByNonProd(); vm.TechDetails = this.GetFarmerServersTechnologyDetails(); vm.EnvDetails = this.GetFarmerServersEnvironmentDetails(); vm.ServerTypeDetails = this.GetFarmerServerTypeDetails(); return(vm); }