コード例 #1
0
        public ActionResult Note(int bookId)
        {
            var book = notebookservice.GetMyBook(bookId);

            var notes = notebookservice.GetNotes(bookId);

            return(View(new NoteBookView(book, notes)));
        }
コード例 #2
0
        public void Render()
        {
            var notes = noteBookService.GetNotes();

            foreach (var note in notes)
            {
                Console.WriteLine(note);
            }
        }