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