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); } }
public Note SearchIssueNote(string issuenumber) { return(notesManager.SearchIssueNote(issuenumber)); }