public IHttpActionResult GetSelectedDataByIDContent(ViewModel.tblContentDictionary obj) { try { JArray JsonContentDictionary = BisContentDictionary.GetSelectedDataByIDContent(obj); return(Ok(JsonContentDictionary)); } catch (Exception ex) { return(NotFound()); } }
public IHttpActionResult DeleteContentDictionary(ViewModel.tblContentDictionary obj) { try { bool ret = BisContentDictionary.DeleteContentDictionary(obj); if (ret) { return(Ok(ret)); } else { return(NotFound()); } } catch (Exception ex) { return(NotFound()); } }
public JArray GetContentDictionaryByIDContentJsonData(ViewModel.tblContentDictionary ContentDictionary) { return(sqlHelper.ReturnJsonData("sp_tblContentDictionary_GetDataByIDContent", ContentDictionary)); }
public bool DeleteContentDictionary(ViewModel.tblContentDictionary tblContentDictionary) { return(sqlHelper.RunProcedure("sp_tblContentDictionary_Delete", tblContentDictionary) > 0); }
public bool ChangeSortInContentDictionary(ViewModel.tblContentDictionary tblContentDictionary) { return(sqlHelper.RunProcedure("sp_tblContentDictionary_ChangeSortInContentDictionary", tblContentDictionary) > 0); }
public bool AddContentDictionary(ViewModel.tblContentDictionary tblContentDictionary) { return(sqlHelper.RunProcedure("sp_tblContentDictionary_Insert", tblContentDictionary) > 0); }