Example #1
0
        static Controller()
        {
            _MutualList = EstablesIndependientesDAC.Search_MutualList_All();
            _MutualList.Add(new MutualBE {
                Nombre = "Todos", IdMutual = (int)CommonValuesEnum.TodosComboBoxValue
            });
            _MutualList.Add(new MutualBE {
                Nombre = Enum.GetName(typeof(CommonValuesEnum), CommonValuesEnum.Ninguno), IdMutual = (int)CommonValuesEnum.Ninguno
            });

            _ProfecionalList = EstablesIndependientesDAC.Search_ProfecionalList_ByParams(new ProfecionalBE());
            _ProfecionalList.Add(new ProfecionalBE {
                Nombre = "Todos", IdProfecional = (int)CommonValuesEnum.TodosComboBoxValue
            });
            _ProfecionalList.Add(new ProfecionalBE {
                Nombre = Enum.GetName(typeof(CommonValuesEnum), CommonValuesEnum.Ninguno), IdProfecional = (int)CommonValuesEnum.Ninguno
            });

            _TipoConsultaList = ParamComercialDAC.GetByParams(200, null, true, string.Empty);
            _TipoConsultaList.Add(new ParamComercialBE {
                Nombre = "Todos", IdParamComercial = (int)CommonValuesEnum.TodosComboBoxValue
            });
            _TipoConsultaList.Add(new ParamComercialBE {
                Nombre = Enum.GetName(typeof(CommonValuesEnum), CommonValuesEnum.Ninguno), IdParamComercial = (int)CommonValuesEnum.Ninguno
            });
        }