C# Class WebApiDemo.Controllers.ContactsController

Inheritance: ApiController
ファイルを表示 Open project: smichelotti/WebAPI-presentation

Public Methods

Method Description
Get ( int id ) : Contact
Post ( Contact contact ) : HttpResponseMessage

Method Details

Get() public method

public Get ( int id ) : Contact
id int
return WebApiDemo.Models.Contact

Post() public method

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