Exemple #1
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);
        }
Exemple #2
0
        private CareTrackingVM populateDropDownList(CareTrackingVM viewModel)
        {
            viewModel.BusinessCenterList = EnumService.GetBusinessCenterList();
            viewModel.MachineGroupList   = EnumService.GetMachineGroupList();
            viewModel.MachineList        = EnumService.GetMachineList();
            viewModel.CareTypeList       = EnumService.GetEnumTypesByParent((int)TypeEnum.CareType);
            viewModel.PlanedCareTypeList = EnumService.GetEnumTypesByParent((int)TypeEnum.PlanedCareType);
            viewModel.CareTeamTypeList   = EnumService.GetEnumTypesByParent((int)TypeEnum.CareTeamType);

            return(viewModel);
        }