C# 클래스 ApiDogFood.API.Controllers.ContactsController

상속: ApiController
파일 보기 프로젝트 열기: benfoster/ApiDogFood

공개 메소드들

메소드 설명
Delete ( int id ) : void
Get ( int id ) : Contact
Get ( ) : IEnumerable
Post ( AddContactCommand command ) : HttpResponseMessage
Put ( int id, UpdateContactCommand command ) : void

비공개 메소드들

메소드 설명
GetContact ( int id ) : Contact

메소드 상세

Delete() 공개 메소드

public Delete ( int id ) : void
id int
리턴 void

Get() 공개 메소드

public Get ( int id ) : Contact
id int
리턴 Contact

Get() 공개 메소드

public Get ( ) : IEnumerable
리턴 IEnumerable

Post() 공개 메소드

public Post ( AddContactCommand command ) : HttpResponseMessage
command AddContactCommand
리턴 System.Net.Http.HttpResponseMessage

Put() 공개 메소드

public Put ( int id, UpdateContactCommand command ) : void
id int
command UpdateContactCommand
리턴 void