Closed janahuwiler closed 3 weeks ago
Create, load, update and delete notes from a person
Notice: personId, createdBy is set automatically from the person data and logged in user in the future
Implementation example
NotesController notesController = new NotesController(); notesController.CreateNote(1, "note 1", "Fabian"); notesController.CreateNote(1, "note 2", "Gianluca"); notesController.CreateNote(1, "note 3", "Pedro"); var notes = notesController.LoadNotes(1); if (notes.Any()) { notesController.UpdateNote(1, notes.First().Id, "new comment", "Jana"); notesController.DeleteNote(1, notes.First().Id); } notesController.DeleteAllNotes(1);
Usage
Create, load, update and delete notes from a person
Notice: personId, createdBy is set automatically from the person data and logged in user in the future
Implementation example