public static string EditNote(int noteId, string noteTitle, string noteContent, string noteHighlight) { var res = AppUtils.EditNote(noteId, noteTitle, noteContent, noteHighlight); if (res == false) { return("An error occured."); } else { return("Success"); } }