C# Class AspNetPagingExample.Controllers.EmployeesController

Inheritance: BaseController
Afficher le fichier Open project: schneidenbach/AspNetPagingExample Class Usage Examples

Méthodes publiques

Méthode Description
EmployeesController ( EntityContext context ) : System
Get ( int page = null, int pageSize = 10, string orderBy = nameof(Employee.Id), bool ascending = true ) : Task

Method Details

EmployeesController() public méthode

public EmployeesController ( EntityContext context ) : System
context AspNetPagingExample.Models.Entities.EntityContext
Résultat System

Get() public méthode

public Get ( int page = null, int pageSize = 10, string orderBy = nameof(Employee.Id), bool ascending = true ) : Task
page int
pageSize int
orderBy string
ascending bool
Résultat Task