public ActionResult Configure()
        {
            var model = new ConfigurationModel();
            model.ConsumerKey = _twitterExternalAuthSettings.ConsumerKey;
            model.ConsumerSecret = _twitterExternalAuthSettings.ConsumerSecret;

            return View("Nop.Plugin.ExternalAuth.Twitter.Views.ExternalAuthTwitter.Configure", model);
        }
        public ActionResult Configure(ConfigurationModel model)
        {
            if (!ModelState.IsValid)
                return Configure();

            //save settings
            _twitterExternalAuthSettings.ConsumerKey = model.ConsumerKey;
            _twitterExternalAuthSettings.ConsumerSecret = model.ConsumerSecret;
            _settingService.SaveSetting(_twitterExternalAuthSettings);

            return View("Nop.Plugin.ExternalAuth.Twitter.Views.ExternalAuthTwitter.Configure", model);
        }