C# Class SpaStack.NET.Controllers.TodoItemsController

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

Public Methods

Method Description
Delete ( [ key ) : IHttpActionResult
Post ( TodoItem todoitem ) : IHttpActionResult
Put ( [ key, TodoItem todoitem ) : IHttpActionResult

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
GetTodoItem ( [ key ) : SingleResult
GetTodoItems ( ) : IQueryable
Patch ( [ key, Delta patch ) : IHttpActionResult
TodoItemExists ( System.Guid 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 ( TodoItem todoitem ) : IHttpActionResult
todoitem SpaStack.NET.Models.TodoItem
return IHttpActionResult

Put() public method

public Put ( [ key, TodoItem todoitem ) : IHttpActionResult
key [
todoitem SpaStack.NET.Models.TodoItem
return IHttpActionResult