C# 클래스 TasksApp.Controllers.Api.Version2.TasksController

Tasks collection
상속: ApiController
파일 보기 프로젝트 열기: colinbowern/Presentations

공개 메소드들

메소드 설명
Delete ( int id ) : void

Deletes the specified id.

Get ( ) : IEnumerable

Retrieves all the tasks

Get ( int id ) : Task

Gets task with the specified id.

Post ( TaskModel model ) : void

Posts the specified model.

Put ( int id, TaskModel model ) : void

Puts the specified id.

메소드 상세

Delete() 공개 메소드

Deletes the specified id.
public Delete ( int id ) : void
id int The id.
리턴 void

Get() 공개 메소드

Retrieves all the tasks
public Get ( ) : IEnumerable
리턴 IEnumerable

Get() 공개 메소드

Gets task with the specified id.
public Get ( int id ) : Task
id int The id.
리턴 TasksApp.Models.Task

Post() 공개 메소드

Posts the specified model.
public Post ( TaskModel model ) : void
model TasksApp.Models.TaskModel The model.
리턴 void

Put() 공개 메소드

Puts the specified id.
public Put ( int id, TaskModel model ) : void
id int The id.
model TasksApp.Models.TaskModel The model.
리턴 void