public IActionResult DeleteNote(string course, int note_id) { string email = User.Identity.Name; NoteModel.deleteNoteByID(this.connectionstring, note_id, email); return(Ok()); }
public IActionResult DeleteNote(string course, int note_id) { string email = User.Identity.Name; NoteModel.deleteNoteByID(this.connectionstring, note_id, email); return(Ok()); }