Exemple #1
0
        public FormCounsellorInterest(InterestLogic logic)
        {
            InitializeComponent();
            List <InterestViewModel> list = logic.Read(null);

            if (list != null)
            {
                comboBoxInterest.DisplayMember = "InterestName";
                comboBoxInterest.ValueMember   = "Id";
                comboBoxInterest.DataSource    = list;
                comboBoxInterest.SelectedItem  = null;
            }
        }
        public MailChimpManager(IOptions <MailchimpOptions> optionsAccessor) : base(optionsAccessor)
        {
            var options = optionsAccessor.Value;

            Activities            = new ActivityLogic(options);
            AbuseReports          = new AbuseReportLogic(options);
            Api                   = new ApiLogic(options);
            Apps                  = new AuthorizedAppLogic(options);
            AutomationEmails      = new AutomationEmailLogic(options);
            AutomationEmailQueues = new AutomationEmailQueueLogic(options);
            Automations           = new AutomationLogic(options);
            AutomationSubscribers = new AutomationSubscriberLogic(options);
            Batches               = new BatchLogic(options);
            Campaigns             = new CampaignLogic(options);
            CampaignFolders       = new CampaignFolderLogic(options);
            Clients               = new ClientLogic(options);
            Content               = new ContentLogic(options);
            Conversations         = new ConversationLogic(options);
            ECommerceStores       = new ECommerceLogic(options);
            Feedback              = new FeedBackLogic(options);
            FileManagerFiles      = new FileManagerFileLogic(options);
            FileManagerFolders    = new FileManagerFolderLogic(options);
            GrowthHistories       = new GrowthHistoryLogic(options);
            InterestCategories    = new InterestCategoryLogic(options);
            Interests             = new InterestLogic(options);
            Lists                 = new ListLogic(options);
            ListSegments          = new ListSegmentLogic(options);
            Members               = new MemberLogic(options);
            MergeFields           = new MergeFieldLogic(options);
            Messages              = new MessageLogic(options);
            Notes                 = new NoteLogic(options);
            Reports               = new ReportLogic(options);
            TemplateFolders       = new TemplateFolderLogic(options);
            Templates             = new TemplateLogic(options);
            WebHooks              = new WebHookLogic(options);
        }
Exemple #3
0
 public FormInterests(InterestLogic logic)
 {
     InitializeComponent();
     this.logic = logic;
 }