// GET: Home
        public ActionResult Index()
        {
            // Test test = new Test();


            NoteManager noteManager = new NoteManager();

            List <Note> noteList = noteManager.GetAllNotesList();

            return(View(noteList));
        }
        public static List <Note> GetFromNotesCache()
        {
            var result = WebCache.Get("cache-notes");

            if (result == null)
            {
                NoteManager noteManager = new NoteManager();
                result = noteManager.GetAllNotesList();

                WebCache.Set("cache-notes", result, 20, true);
            }

            return(result);
        }