Browse Source

Updated part 10 images

pull/15250/head
Halil İbrahim Kalkan 3 years ago
parent
commit
3369e3601c
  1. 7
      docs/en/Tutorials/Part-10.md
  2. BIN
      docs/en/Tutorials/images/bookstore-added-author-to-book-list-2.png
  3. BIN
      docs/en/Tutorials/images/bookstore-added-authors-to-modals-2.png

7
docs/en/Tutorials/Part-10.md

@ -105,6 +105,7 @@ This should create a new migration class with the following code in its `Up` met
migrationBuilder.AddColumn<Guid>(
name: "AuthorId",
table: "AppBooks",
type: "uniqueidentifier",
nullable: false,
defaultValue: new Guid("00000000-0000-0000-0000-000000000000"));
@ -708,7 +709,7 @@ namespace Acme.BookStore.Books
### The Book List
Book list page change is trivial. Open the `Pages/Books/Index.js` in the `Acme.BookStore.Web` project and add the following column definition between the `name` and `type` columns:
Book list page change is trivial. Open the `Pages/Books/Index.js` in the `Acme.BookStore.Web` project and add an `authorName` column between the `name` and `type` columns:
````js
...
@ -735,7 +736,7 @@ Book list page change is trivial. Open the `Pages/Books/Index.js` in the `Acme.B
When you run the application, you can see the *Author* column on the table:
![bookstore-added-author-to-book-list](images/bookstore-added-author-to-book-list.png)
![bookstore-added-author-to-book-list](images/bookstore-added-author-to-book-list-2.png)
### Create Modal
@ -937,7 +938,7 @@ CreateMap<Pages.Books.EditModalModel.EditBookViewModel, CreateUpdateBookDto>();
You can run the application and try to create a new book or update an existing book. You will see a drop down list on the create/update form to select the author of the book:
![bookstore-added-authors-to-modals](images/bookstore-added-authors-to-modals.png)
![bookstore-added-authors-to-modals](images/bookstore-added-authors-to-modals-2.png)
{{else if UI=="NG"}}

BIN
docs/en/Tutorials/images/bookstore-added-author-to-book-list-2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

BIN
docs/en/Tutorials/images/bookstore-added-authors-to-modals-2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Loading…
Cancel
Save