private UserVM poulateDropDownList(UserVM viewModel) { viewModel.LockTypes = EnumService.GetLockEnumTypes(); viewModel.UserTypeList = EnumService.GetEnumValueListByEcID((int)CategoryEnum.UserType); return(viewModel); }
private OperatorInformationVM poulateDropDownList(OperatorInformationVM viewModel) { viewModel.OperatorTypeList = EnumService.GetEnumValueListByEcID((int)CategoryEnum.OperatorType); viewModel.OperatorChanelTypeList = EnumService.GetEnumValueListByEcID((int)CategoryEnum.OperatorChanelType); if (viewModel.EnumCategoryID == 17) { viewModel.InOutTypeList = EnumService.GetEnumValueListByEcIDForINOUT((int)CategoryEnum.InOutTypeMessage); } else { viewModel.InOutTypeList = EnumService.GetEnumValueListByEcIDForINOUT((int)CategoryEnum.InOutTypeCall); } viewModel.OperatorPrefixList = EnumService.GetEnumValueListByEcIDForPrefix((int)CategoryEnum.OperatorPrefixType); return(viewModel); }
private SMSSenderInfoVM poulateDropDownList(SMSSenderInfoVM viewModel) { viewModel.ActivityTypeList = EnumService.GetEnumValueListByEcID((int)CategoryEnum.ActivityType); viewModel.IsParseList = EnumService.GetBoleanEnumTypes(); return(viewModel); }
private PackageVM populatePriceDropDownList(PackageVM viewModel) { viewModel.SourceEVList = EnumService.GetEnumValueListByEcID((int)CategoryEnum.SourceType); return(viewModel); }
private PackageVM poulateDropDownList(PackageVM viewModel) { viewModel.MobileEVList = EnumService.GetEnumValueListByEcID((int)CategoryEnum.OperatorType); return(viewModel); }