Exemple #1
0
        private UserVM poulateDropDownList(UserVM viewModel)
        {
            viewModel.LockTypes    = EnumService.GetLockEnumTypes();
            viewModel.UserTypeList = EnumService.GetEnumValueListByEcID((int)CategoryEnum.UserType);

            return(viewModel);
        }
Exemple #2
0
        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);
        }
Exemple #3
0
 private SMSSenderInfoVM poulateDropDownList(SMSSenderInfoVM viewModel)
 {
     viewModel.ActivityTypeList = EnumService.GetEnumValueListByEcID((int)CategoryEnum.ActivityType);
     viewModel.IsParseList      = EnumService.GetBoleanEnumTypes();
     return(viewModel);
 }
Exemple #4
0
 private PackageVM populatePriceDropDownList(PackageVM viewModel)
 {
     viewModel.SourceEVList = EnumService.GetEnumValueListByEcID((int)CategoryEnum.SourceType);
     return(viewModel);
 }
Exemple #5
0
 private PackageVM poulateDropDownList(PackageVM viewModel)
 {
     viewModel.MobileEVList = EnumService.GetEnumValueListByEcID((int)CategoryEnum.OperatorType);
     return(viewModel);
 }