Esempio n. 1
0
 public bool DeleteContent(ViewModel.tblContent content)
 {
     return(sqlHelper.RunProcedure("sp_tblContent_DeleteRow", content, true) > 0);
 }
Esempio n. 2
0
 public bool UpdatepopupForContent(ViewModel.tblContent content)
 {
     return(sqlHelper.RunProcedure("sp_UpdatePopupForContent", "") > 0);
 }
Esempio n. 3
0
 public bool UpdateContentPicUrl(ViewModel.tblContent content)
 {
     return(sqlHelper.RunProcedure("sp_tblContent_UpdatePicUrl", content) > 0);
 }
Esempio n. 4
0
 public bool ToggleActivation(ViewModel.tblContent content)
 {
     return(sqlHelper.RunProcedure("sp_tblContent_ToggleActivation", content) > 0);
 }
Esempio n. 5
0
 public bool UnLikeContent(ViewModel.tblContent content)
 {
     return(sqlHelper.RunProcedure("sp_tblContent_UnLike", content) > 0);
 }
Esempio n. 6
0
 public bool AddContent(ViewModel.tblContent content)
 {
     return(sqlHelper.RunProcedure("sp_tblContent_Insert", content, true) > 0);
 }