C# Class Stock.Api.Controllers.ProductTypeController

Inheritance: ControllerBase
Show file Open project: lnapoliHX/HexactaLabs-NetCore_React-Level1

Public Methods

Method Description
ProductTypeController ( ProductTypeService service, IMapper mapper ) : System

Initializes a new instance of the ProductTypeController class.

Private Methods

Method Description
Delete ( string id ) : ActionResult
Get ( ) : ActionResult>
Get ( string id ) : ActionResult
Post ( ProductTypeDTO value ) : ActionResult
Put ( string id, ProductTypeDTO value ) : void

Method Details

ProductTypeController() public method

Initializes a new instance of the ProductTypeController class.
public ProductTypeController ( ProductTypeService service, IMapper mapper ) : System
service ProductTypeService Product type service.
mapper IMapper Mapper configurator.
return System