예제 #1
0
 /// <summary>
 /// Updates the page sign off status
 /// </summary>
 /// <param name="rowid"></param>
 /// <param name="signOffStatus"></param>
 protected void UpdatePageSignOffStatus(int rowid, string signOffStatus)
 {
     objWellBook = new WellBookBLL();
     strSiteURL = SPContext.Current.Site.Url.ToString();
     if (signOffStatus.Equals("PageSignOff"))
     {
         objWellBook.UpdateWellBookPageSignOffStatus(strSiteURL, CHAPTERPAGEMAPPINGLIST, STATUS_SIGNEDOFF, rowid, AUDIT_ACTION_SIGNEDOFF);
     }
     else
     {
         objWellBook.UpdateWellBookPageSignOffStatus(strSiteURL, CHAPTERPAGEMAPPINGLIST, STATUS_UNSIGNEDOFF, rowid, AUDIT_ACTION_UNSIGNEDOFF);
     }
 }