コード例 #1
0
 /// <summary>
 /// To deletes the note of the records.
 /// </summary>
 /// <returns>APIResponse class instance.</returns>
 /// <param name="note">ZCRMNote class instance</param>
 public APIResponse DeleteNote(ZCRMNote note)
 {
     if (note.Id == null)
     {
         throw new ZCRMException("Note ID MUST be null for Delete Operation");
     }
     return(ZCRMModuleRelation.GetInstance(this, "Notes").DeleteNote(note));
 }
コード例 #2
0
 /// <summary>
 /// To delete the note of the module relation records based on ZCRMNote class instance.
 /// </summary>
 /// <returns>APIResponse class instance.</returns>
 /// <param name="note">ZCRMNote class instance</param>
 public APIResponse DeleteNote(ZCRMNote note)
 {
     return(RelatedListAPIHandler.GetInstance(parentRecord, this).DeleteNote(note));
 }