public IActionResult UpdateNote(UserPlanner updatedNote)
        {
            UserPlanner found = _context.UserPlanner.Find(updatedNote.UserId);

            if (ModelState.IsValid && found != null)
            {
                found.UserId = updatedNote.UserId;
                found.Notes  = updatedNote.Notes;

                _context.Entry(found).State = Microsoft.EntityFrameworkCore.EntityState.Modified;
                _context.Update(found);
                _context.SaveChanges();

                return(RedirectToAction("UserPlanner"));
            }
            return(View("UpdateNote", found));
        }