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