示例#1
0
        public List <KeyValuePair <int, string> > GetEmailTypes(CommunityType communityType)
        {
            GetEmailTypesCommand getEmailTypesCommand = new GetEmailTypesCommand(communityType);

            getEmailTypesCommand.Execute();
            return(getEmailTypesCommand.CommandResult);
        }
        public List <UserManagementSystem.Entities.EmailType> GetEmailTypes()
        {
            GetEmailTypesCommand getEmailTypesCommand = new GetEmailTypesCommand();

            getEmailTypesCommand.Execute();
            return(getEmailTypesCommand.CommandResult);
        }
示例#3
0
        public List <KeyValuePair <int, string> > GetEmailTypes(ServiceType serviceType)
        {
            GetEmailTypesCommand getEmailTypesCommand = new GetEmailTypesCommand(serviceType);

            getEmailTypesCommand.Execute();
            return(getEmailTypesCommand.CommandResult);
        }