public JsonResult GetDictionaryData(int dictionaryID)
 {
     try
     {
         ResponseObjectPackage<List<Dictionary<string, object>>> result = new DictionariesDataLogic().GetDictionaryData(dictionaryID);
         return Json(result);
     }
     catch (Exception ex)
     {
         return this.HandleException(ex);
     }
 }
 public JsonResult SaveDictionaryData(Dictionary<string, string> row, int dictionaryID)
 {
     try
     {
         Dictionary<int, string> dict = row.ToDictionary(e => Int32.Parse(e.Key), e => e.Value);
         ResponsePackage result = new DictionariesDataLogic().SaveDictionaryData(dict, dictionaryID);
         return Json(result);
     }
     catch (Exception ex)
     {
         return this.HandleException(ex);
     }
 }