C# Class ApiDogFood.API.Controllers.ContactsController
Mostra file
Open project: benfoster/ApiDogFood
Public Methods
Method |
Description |
|
Delete ( int id ) : void |
|
|
Get ( int id ) : Contact |
|
|
Get ( ) : IEnumerable |
|
|
Post ( AddContactCommand command ) : HttpResponseMessage |
|
|
Put ( int id, UpdateContactCommand command ) : void |
|
|
Private Methods
Method |
Description |
|
GetContact ( int id ) : Contact |
|
|
Method Details
public Delete ( int id ) : void |
id |
int |
|
return |
void |
|
public Get ( int id ) : Contact |
id |
int |
|
return |
Contact |
|
public Get ( ) : IEnumerable |
return |
IEnumerable |
|
public Post ( AddContactCommand command ) : HttpResponseMessage |
command |
AddContactCommand |
|
return |
System.Net.Http.HttpResponseMessage |
|
public Put ( int id, UpdateContactCommand command ) : void |
id |
int |
|
command |
UpdateContactCommand |
|
return |
void |
|