public bool PutLanguageKey(LanguageKeyModel languageKey)
 {
     dynamic jsonObj = JsonConvert.DeserializeObject(GetFileAsString(languageKey.LanguageId));
     jsonObj[languageKey.Key] = languageKey.Value;
     string outFile = JsonConvert.SerializeObject(jsonObj);
     return WriteFile(outFile, GetFileLocation(languageKey.LanguageId));
 }
 public JsonResult<ResponseViewModel<bool>> PostEditLanguageKey(LanguageKeyModel languageKey)
 {
     var response =
         ServiceExecutor.Execute(() => _managementLanguageService.PutLanguageKey(languageKey));
     return Json(response);
 }
 public bool PutLanguageKey(LanguageKeyModel languageKey)
 {
     return _languageFileService.PutLanguageKey(languageKey);
 }