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

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