示例#1
0
        public ActionResult Index(FetchOptions options)
        {
            var user  = userRepository.GetCurrentUser(User);
            var notes = noteRepository.GetAllByUser(user, options);
            var model = new NoteListViewModel
            {
                Notes = notes
            };

            return(View(model));
        }