public override void Install()
        {
            //set owin startup
            SetOwinStartup(true);

            //set suite install
            SetSuiteInstall(true);

            //save the settings
            var suiteSettings = new MobSocialSuiteSettings()
            {
                WebInterfaceEnabled = true
            };

            _settingService.SaveSetting(suiteSettings);

            var webApiPlugin = ChildPluginInstances.GetPluginInsance <MobSocialWebApiPlugin>();

            webApiPlugin.Install();

            var mobSocialPlugin = ChildPluginInstances.GetPluginInsance <mobSocialPlugin>();

            mobSocialPlugin.Install();
            base.Install();
        }
 public MobSocialSuitePlugin(MobSocialSuiteSettings mobSocialSuiteSettings, ISettingService settingService)
 {
     _mobSocialSuiteSettings = mobSocialSuiteSettings;
     _settingService         = settingService;
 }