C# Class SpaStack.NET.Controllers.ProductsController

Inheritance: ODataController
Mostra file Open project: ntheile/SpaStack.NET

Public Methods

Method Description
Delete ( [ key ) : IHttpActionResult
Post ( Product product ) : IHttpActionResult
Put ( [ key, Product product ) : IHttpActionResult

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
GetCategory ( [ key ) : SingleResult
GetProduct ( [ key ) : SingleResult
GetProducts ( ) : IQueryable
GetSupplier ( [ key ) : SingleResult
Patch ( [ key, Delta patch ) : IHttpActionResult
ProductExists ( int key ) : bool

Method Details

Delete() public method

public Delete ( [ key ) : IHttpActionResult
key [
return IHttpActionResult

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Post() public method

public Post ( Product product ) : IHttpActionResult
product SpaStack.NET.Models.Product
return IHttpActionResult

Put() public method

public Put ( [ key, Product product ) : IHttpActionResult
key [
product SpaStack.NET.Models.Product
return IHttpActionResult