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); }
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); }