C# Class Medium.API.Controllers.TodoController

Inheritance: ApiController
显示文件 Open project: jenspettersson/Mediocr

Public Methods

Method Description
Get ( int id ) : TodoItem
Post ( CreateTodoItem createTodoItem ) : HttpResponseMessage
TodoController ( IMediator mediator ) : System.Collections.Generic

Method Details

Get() public method

public Get ( int id ) : TodoItem
id int
return TodoItem

Post() public method

public Post ( CreateTodoItem createTodoItem ) : HttpResponseMessage
createTodoItem CreateTodoItem
return System.Net.Http.HttpResponseMessage

TodoController() public method

public TodoController ( IMediator mediator ) : System.Collections.Generic
mediator IMediator
return System.Collections.Generic