| HTTP Method | Route | Action Name | Parameters | Return Type |
|---|---|---|---|---|
| POST |
/News/AddImage
|
AddImage |
id
(Query)
imageUrl
(Query)
|
Task<IActionResult>
|
| POST |
/News/Create
|
Create | None |
IActionResult
|
| POST |
/News/Create
|
Create |
model
(Body)
|
Task<IActionResult>
|
| DELETE |
/News/Delete
|
Delete |
id
(Query)
|
Task<IActionResult>
|
| POST |
/News/DeleteConfirmed
|
DeleteConfirmed |
id
(Query)
|
Task<IActionResult>
|
| POST |
/News/DeleteImage
|
DeleteImage |
imageId
(Query)
articleId
(Query)
|
Task<IActionResult>
|
| GET |
/News/Details
|
Details |
id
(Query)
|
Task<IActionResult>
|
| GET |
/News/Edit
|
Edit |
id
(Query)
|
Task<IActionResult>
|
| POST |
/News/Edit
|
Edit |
id
(Query)
model
(Body)
|
Task<IActionResult>
|
| GET |
/News/Index
|
Index |
page
(Query)
pageSize
(Query)
typeId
(Query)
|
Task<IActionResult>
|
| GET |
/News/ManageImages
|
ManageImages |
id
(Query)
|
Task<IActionResult>
|
JS_Loading