Example #1
0
 public bool DeleteUserSite(ViewModel.tblUserSite UserSite)
 {
     return(sqlHelper.RunProcedure("sp_tblUserSite_DeleteRow", UserSite) > 0);
 }
Example #2
0
 public bool UpdateShowDate(ViewModel.tblUserSite UserSite)
 {
     return(sqlHelper.RunProcedure("sp_tblUserSite_UpdateShowDate", UserSite) > 0);
 }
Example #3
0
 public bool UpdateIDPersonelInCompany(ViewModel.tblUserSite UserSite)
 {
     return(sqlHelper.RunProcedure("sp_tblUserSite_UpdateIDPersonelInCompany", UserSite, true) > 0);
 }
Example #4
0
 public JArray GetUserSiteJsonDataByNationalCode(ViewModel.tblUserSite UserSite)
 {
     return(sqlHelper.ReturnJsonData("sp_tblUserSite_GetByNationalCode", UserSite));
 }
Example #5
0
 public JArray GetCountNewUserNotShown(ViewModel.tblUserSite user)
 {
     return(sqlHelper.ReturnJsonData("sp_tblUserSite_GetCountNewUserNotShown", user));
 }
Example #6
0
 public JArray CheckPersonelInCompanyExistInUserSite(ViewModel.tblUserSite user)
 {
     return(sqlHelper.ReturnJsonData("sp_tblUserSite_CheckPersonelInCompanyExistInUserSite", user));
 }
Example #7
0
 public JArray GetIntegratedUserSiteByID(ViewModel.tblUserSite user)
 {
     return(sqlHelper.ReturnJsonData("sp_tblUserSite_GetIntegratedUserSiteByID", user));
 }
Example #8
0
 public JArray GetUserSiteJson(ViewModel.tblUserSite user)
 {
     return(sqlHelper.ReturnJsonData("sp_tblUserSite_GetData", user));
 }