Beispiel #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);
 }
Beispiel #2
0
        private PersonVM populateDropDownList(PersonVM viewModel)
        {
            viewModel.GenderTypeList = EnumService.GetEnumTypesByParent((int)TypeEnum.GenderType);
            viewModel.PersonTypeList = EnumService.GetEnumTypesByParent((int)TypeEnum.PersonType);

            return(viewModel);
        }
Beispiel #3
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);
        }
Beispiel #4
0
 private EmployeeVM poulateDropDownList(EmployeeVM viewModel)
 {
     viewModel.GenderTypeList = EnumService.GetEnumTypesByParent((int)TypeEnum.GenderType);
     //  viewModel.OrganisationList = EnumService.GetOrganisationParentList();
     return(viewModel);
 }