C# Class SpaStack.NET.Controllers.CategoriesController

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

Méthodes publiques

Méthode Description
Delete ( [ key ) : IHttpActionResult
Post ( Category category ) : IHttpActionResult
Put ( [ key, Category category ) : IHttpActionResult

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
CategoryExists ( int key ) : bool
GetCategories ( ) : IQueryable
GetCategory ( [ key ) : SingleResult
GetProducts ( [ key ) : IQueryable
Patch ( [ key, Delta patch ) : IHttpActionResult

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 ( Category category ) : IHttpActionResult
category SpaStack.NET.Models.Category
Résultat IHttpActionResult

Put() public méthode

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