C# Class SpaStack.NET.Controllers.ProductsController

Inheritance: ODataController
Afficher le fichier Open project: ntheile/SpaStack.NET

Méthodes publiques

Méthode Description
Delete ( [ key ) : IHttpActionResult
Post ( Product product ) : IHttpActionResult
Put ( [ key, Product product ) : IHttpActionResult

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode 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 méthode

public Delete ( [ key ) : IHttpActionResult
key [
Résultat IHttpActionResult

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

Post() public méthode

public Post ( Product product ) : IHttpActionResult
product SpaStack.NET.Models.Product
Résultat IHttpActionResult

Put() public méthode

public Put ( [ key, Product product ) : IHttpActionResult
key [
product SpaStack.NET.Models.Product
Résultat IHttpActionResult