Ejemplo n.º 1
0
 private CareTrackingVM populateCTDDropDownList(CareTrackingVM viewModel)
 {
     viewModel.MechanicList        = EnumService.GetPersonTypeList((int)PersonType.Mecanic);
     viewModel.ReceivingPersonList = EnumService.GetPersonTypeList((int)PersonType.ReceivingPerson);
     viewModel.ResultTypeList      = EnumService.GetEnumTypesByParent((int)TypeEnum.ResultType);
     return(viewModel);
 }
Ejemplo n.º 2
0
        private MachineVM populateDropDownList(MachineVM viewModel)
        {
            //viewModel.GenderTypeList = EnumService.GetEnumTypesByParent((int)TypeEnum.GenderType);
            viewModel.MachineGroupList      = EnumService.GetMachineGroupList();
            viewModel.BusinessCenterList    = EnumService.GetBusinessCenterList();
            viewModel.ResponsiblePersonList = EnumService.GetPersonTypeList((int)PersonType.ResponsiblePerson);

            return(viewModel);
        }