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