Class CategoryController
In the Model-View-Controller pattern, the controller processes the input. In this case, it is all the input involving category operations.
Inheritance
System.Object
Microsoft.AspNetCore.Mvc.ControllerBase
Microsoft.AspNetCore.Mvc.Controller
CategoryController
Implements
Microsoft.AspNetCore.Mvc.Filters.IActionFilter
Microsoft.AspNetCore.Mvc.Filters.IAsyncActionFilter
Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata
System.IDisposable
Namespace: Scrapbook101core.Controllers
Assembly: Scrapbook101core.dll
Syntax
public class CategoryController : Controller, IActionFilter, IAsyncActionFilter, IFilterMetadata, IDisposable
Methods
| Improve this Doc View SourceGetCategoryFieldsAsync(String)
Declaration
[HttpGet]
[ActionName("GetCategoryFields")]
public string GetCategoryFieldsAsync(string category)
Parameters
Type | Name | Description |
---|---|---|
System.String | category |
Returns
Type | Description |
---|---|
System.String |
GetString(IHtmlContent)
Declaration
public static string GetString(IHtmlContent content)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Html.IHtmlContent | content |
Returns
Type | Description |
---|---|
System.String |
Index()
Declaration
public IActionResult Index()
Returns
Type | Description |
---|---|
Microsoft.AspNetCore.Mvc.IActionResult |
Implements
Microsoft.AspNetCore.Mvc.Filters.IActionFilter
Microsoft.AspNetCore.Mvc.Filters.IAsyncActionFilter
Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata
System.IDisposable