C# Class AspNetPagingExample.Controllers.EmployeesController

Inheritance: BaseController
Datei anzeigen Open project: schneidenbach/AspNetPagingExample Class Usage Examples

Public Methods

Method 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 method

public EmployeesController ( EntityContext context ) : System
context AspNetPagingExample.Models.Entities.EntityContext
return System

Get() public method

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
return Task