Suoranta.EnterpriseLib.Web - Developer API

ApiController<(Of <(<'TContext, TEntity, TResponseDTO>)>)> Constructor

Initializes a new instance

Namespace:  Suoranta.EnterpriseLib.Web.WebAPI
Assembly:  Suoranta.EnterpriseLib.Web (in Suoranta.EnterpriseLib.Web.dll)

Syntax


protected ApiController(
	TContext context,
	IMapper mapper
)

Parameters

context
Type: TContext
DbContext
mapper
Type: IMapper
Mapper

Remarks


context and mapper are supplied by the dependency injector.