public HermesGenericNote UpdateGenericNote(HermesGenericNote note, string userName, string userId) { notesDb[note.Id] = note; return(note); }
public void DeleteGenericNote(HermesGenericNote note, string userName, string userId) { notesDb.Remove(note.Id); }
public HermesGenericNote AddGenericNote(HermesGenericNote note, string userName, string userId) { note.Id = Guid.NewGuid().ToString(); notesDb[note.Id] = note; return(note); }