public SettingsViewModel SaveBlogSettings(SettingsViewModel settings) { var encryptedSmtpPassword = _protector.Protect(settings.SmtpPassword); _dataProvider.UpdateBlog(settings.BlogId, settings.BlogName, settings.Description, settings.PostsPerPage, settings.SmtpUsername, encryptedSmtpPassword, settings.SmtpHost, settings.SmtpPort, settings.EmailPrefix, settings.SmtpUseSsl, settings.SendCommentEmail, settings.UseReCaptcha, settings.CaptchaKey, settings.CaptchaSecret); return(GetBlogSettings()); }