C# Class SpaStack.NET.Controllers.CategoriesController

Inheritance: ODataController
Datei anzeigen Open project: ntheile/SpaStack.NET

Public Methods

Method Description
Delete ( [ key ) : IHttpActionResult
Post ( Category category ) : IHttpActionResult
Put ( [ key, Category category ) : IHttpActionResult

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

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

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

Put() public method

public Put ( [ key, Category category ) : IHttpActionResult
key [
category SpaStack.NET.Models.Category
return IHttpActionResult