Browse Source
Merge pull request #595 from iAmBipinPaul/patch-1
Remove wwwroot
pull/598/head
Halil İbrahim Kalkan
8 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
4 deletions
-
docs/en/Tutorials/AspNetCore-Mvc/Part-II.md
|
|
|
@ -109,7 +109,7 @@ Just added a **New book** button to the **top right** of the table: |
|
|
|
|
|
|
|
 |
|
|
|
|
|
|
|
Open the `wwwroot/pages/books/index.js` and add the following code just after the datatable configuration: |
|
|
|
Open the `pages/books/index.js` and add the following code just after the datatable configuration: |
|
|
|
|
|
|
|
````js |
|
|
|
var createModal = new abp.ModalManager(abp.appPath + 'Books/CreateModal'); |
|
|
|
@ -268,7 +268,7 @@ Open the `Pages/Books/Index.cshtml` page and change the table section as shown b |
|
|
|
|
|
|
|
* Just added a new `th` tag for the "Actions". |
|
|
|
|
|
|
|
Open the `wwwroot/pages/books/index.js` and replace the content as below: |
|
|
|
Open the `pages/books/index.js` and replace the content as below: |
|
|
|
|
|
|
|
````js |
|
|
|
$(function () { |
|
|
|
@ -327,7 +327,7 @@ You can run the application and edit any book by selecting the edit action. |
|
|
|
|
|
|
|
### Deleting an Existing Book |
|
|
|
|
|
|
|
Open the `wwwroot/pages/books/index.js` and add a new item to the `rowAction` `items`: |
|
|
|
Open the `pages/books/index.js` and add a new item to the `rowAction` `items`: |
|
|
|
|
|
|
|
````js |
|
|
|
{ |
|
|
|
@ -418,4 +418,4 @@ Run the application and try to delete a book. |
|
|
|
|
|
|
|
### Next Part |
|
|
|
|
|
|
|
See the [next part](Part-III.md) of this tutorial. |
|
|
|
See the [next part](Part-III.md) of this tutorial. |
|
|
|
|