Esempio n. 1
0
 public void AddNoteToDB(Entities.Note note)
 {
     note.content = note.content.Replace('\'', '"');
     Entities.Note loadNote = manager.SearchIssueNote(note.issueNumber);
     if (loadNote != null)
     {
         manager.UpdateNote(note);
     }
     else
     {
         manager.AddNote(note);
     }
 }
Esempio n. 2
0
 public Note SearchIssueNote(string issuenumber)
 {
     return(notesManager.SearchIssueNote(issuenumber));
 }