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); }
public List <KeyValuePair <int, string> > GetEmailTypes(ServiceType serviceType) { GetEmailTypesCommand getEmailTypesCommand = new GetEmailTypesCommand(serviceType); getEmailTypesCommand.Execute(); return(getEmailTypesCommand.CommandResult); }