C# Class XApps.WebApi.Controllers.CategoryController

Inheritance: ApiController
Datei anzeigen Open project: rehrumesh/XApps

Public Methods

Method Description
GetCategories ( ) : IQueryable
PutCategory ( int id, Category category ) : IHttpActionResult

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
CategoryExists ( int id ) : bool
DeleteCategory ( int id ) : IHttpActionResult
GetCategory ( int id ) : IHttpActionResult
PostCategory ( Category category ) : IHttpActionResult

Method Details

Dispose() protected method

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

GetCategories() public method

public GetCategories ( ) : IQueryable
return IQueryable

PutCategory() public method

public PutCategory ( int id, Category category ) : IHttpActionResult
id int
category XApps.WebApi.Models.Category
return IHttpActionResult