public ActionResult <AppSettingViewModel> Post(AppSettingViewModel setting) { if (ModelState.IsValid) { return(Ok(appSettingService.AddSetting(setting))); } else { return(BadRequest(ModelState)); } }