C# 클래스 WebApiDemo.Controllers.ContactsController

상속: ApiController
파일 보기 프로젝트 열기: smichelotti/WebAPI-presentation

공개 메소드들

메소드 설명
Get ( int id ) : Contact
Post ( Contact contact ) : HttpResponseMessage

메소드 상세

Get() 공개 메소드

public Get ( int id ) : Contact
id int
리턴 WebApiDemo.Models.Contact

Post() 공개 메소드

public Post ( Contact contact ) : HttpResponseMessage
contact WebApiDemo.Models.Contact
리턴 System.Net.Http.HttpResponseMessage