Example #1
0
        public IHttpActionResult Post(SecuritySettingsModel entityModel)
        {
            var securitySettings = new SecuritySettings()
            {
                DefaultPasswordStorageFormat = entityModel.DefaultPasswordStorageFormat
            };

            _settingService.Save(securitySettings);
            VerboseReporter.ReportSuccess("Settings saved successfully", "post_setting");
            return(RespondSuccess(new { SecuritySettings = securitySettings.ToModel() }));
        }