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)); }