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