Page Contents

Home > @loopback/rest-crud > CrudRestControllerCtor > (new)

CrudRestControllerCtor.(new)

Signature:

new (repository: EntityCrudRepository<T, IdType, Relations>): CrudRestController<T, IdType, IdName, Relations>;

Parameters

Parameter Type Description
repository EntityCrudRepository<T, IdType, Relations>  

Returns:

CrudRestController<T, IdType, IdName, Relations>