public static FullServiceInfo BuildServiceInfo(ServiceInfo shortInfo)
        {
            var model = new FullServiceInfo(shortInfo)
            {
                ServiceName = "Google Drive",
                ServiceIcon = "~/content/icons/google-drive.png",
                Controller  = "GoogleDrive"
            };

            return(model);
        }
        public static FullServiceInfo BuildServiceInfo(ServiceInfo shortInfo)
        {
            var model = new FullServiceInfo(shortInfo)
            {
                ServiceName = "MailChimp",
                ServiceIcon = "~/content/icons/mailchimp.png",
                Controller  = "MailChimp"
            };

            return(model);
        }
Example #3
0
        public static FullServiceInfo BuildServiceInfo(ServiceInfo shortInfo)
        {
            var model = new FullServiceInfo(shortInfo)
            {
                ServiceName = "GetResponse",
                ServiceIcon = "~/content/icons/getresponse.png",
                Controller  = "GetResponse"
            };

            return(model);
        }
Example #4
0
        public static FullServiceInfo BuildServiceInfo(ServiceInfo shortInfo)
        {
            var model = new FullServiceInfo(shortInfo)
            {
                ServiceName = "InfusionSoft",
                ServiceIcon = "~/content/icons/infusionsoft.png",
                Controller  = "InfusionSoft"
            };

            return(model);
        }
        public static FullServiceInfo BuildServiceInfo(ServiceInfo shortInfo)
        {
            var model = new FullServiceInfo(shortInfo)
            {
                ServiceName = "Ontraport",
                ServiceIcon = "~/content/icons/ONTRAPORT2.png",
                Controller  = "Ontraport"
            };

            return(model);
        }
Example #6
0
        public static FullServiceInfo BuildServiceInfo(ServiceInfo shortInfo)
        {
            var model = new FullServiceInfo(shortInfo)
            {
                ServiceName = "Aweber",
                ServiceIcon = "~/content/icons/aweber.png",
                Controller  = "Aweber"
            };

            return(model);
        }
        public static FullServiceInfo BuildServiceInfo(ServiceInfo shortInfo)
        {
            var model = new FullServiceInfo(shortInfo)
            {
                ServiceName = "Active Campaign",
                ServiceIcon = "~/content/icons/active-campaign.png",
                Controller  = "ActiveCampaign"
            };

            return(model);
        }
Example #8
0
        public static FullServiceInfo BuildServiceInfo(ServiceInfo shortInfo)
        {
            var model = new FullServiceInfo(shortInfo)
            {
                ServiceName = "DropBox",
                ServiceIcon = "~/content/icons/dropbox.png",
                Controller  = "DropBox"
            };

            return(model);
        }
        public static FullServiceInfo BuildServiceInfo(User user)
        {
            bool connected = user.InfusionSoftAccount != null;

            var model = new FullServiceInfo
            {
                AccountName = connected ? user.MailChimpAccount.AccountName : null,
                Connected   = connected,
                Enabled     = connected && user.MailChimpAccount.Enabled,
                ServiceName = "MailChimp",
                ServiceIcon = "~/content/icons/mailchimp.png",
                Controller  = "MailChimp"
            };

            return(model);
        }
        public static FullServiceInfo BuildServiceInfo(User user)
        {
            bool connected = user.InfusionSoftAccount != null;

            var model = new FullServiceInfo
            {
                AccountName = connected ? user.OntraportAccount.AccountName : null,
                Connected   = connected,
                Enabled     = connected && user.OntraportAccount.Enabled,
                ServiceName = "Ontraport",
                ServiceIcon = "~/content/icons/ONTRAPORT2.png",
                Controller  = "Ontraport"
            };

            return(model);
        }
Example #11
0
        public static FullServiceInfo BuildServiceInfo(User user)
        {
            bool connected = user.AweberAccount != null;

            var model = new FullServiceInfo
            {
                AccountName = connected ? user.AweberAccount.AccountName : null,
                Connected   = connected,
                Enabled     = connected && user.AweberAccount.Enabled,
                ServiceName = "Aweber",
                ServiceIcon = "~/content/icons/aweber.png",
                Controller  = "Aweber"
            };

            return(model);
        }
        public static FullServiceInfo BuildServiceInfo(User user)
        {
            bool connected = user.GoogleDriveAccount != null;

            var model = new FullServiceInfo
            {
                AccountName = connected ? user.GoogleDriveAccount.AccountName : null,
                Connected   = connected,
                Enabled     = connected && user.GoogleDriveAccount.Enabled,
                ServiceName = "Google Drive",
                ServiceIcon = "~/content/icons/google-drive.png",
                Controller  = "GoogleDrive",
                Url         = @"https://drive.google.com/"
            };

            return(model);
        }
Example #13
0
        public static FullServiceInfo BuildServiceInfo(User user)
        {
            bool connected = user.DropboxAccount != null;

            var model = new FullServiceInfo
            {
                AccountName = connected ? user.DropboxAccount.AccountName : null,
                Connected   = connected,
                Enabled     = connected && user.DropboxAccount.Enabled,
                ServiceName = "DropBox",
                ServiceIcon = "~/content/icons/dropbox.png",
                Controller  = "DropBox",
                Url         = @"https://www.dropbox.com/"
            };

            return(model);
        }