public IActionResult Put(LocalizedProperty entityModel) { var localizedProperty = _localizedPropertyService.FirstOrDefault(x => x.Id == entityModel.Id); //save it and respond localizedProperty.LocaleKey = entityModel.LocaleKey; localizedProperty.LocaleValue = entityModel.LocaleValue; localizedProperty.LanguageId = entityModel.LanguageId; _localizedPropertyService.Update(localizedProperty); VerboseReporter.ReportSuccess("Sửa ngôn ngữ thành công", "post"); return(RespondSuccess(localizedProperty)); }