deleted notes from api controller