C# Класс ApiDogFood.API.Controllers.ContactsController
Показать файл
Открыть проект
Открытые методы
Метод |
Описание |
|
Delete ( int id ) : void |
|
|
Get ( int id ) : Contact |
|
|
Get ( ) : IEnumerable |
|
|
Post ( AddContactCommand command ) : HttpResponseMessage |
|
|
Put ( int id, UpdateContactCommand command ) : void |
|
|
Приватные методы
Описание методов
public Delete ( int id ) : void |
id |
int |
|
Результат |
void |
|
public Get ( int id ) : Contact |
id |
int |
|
Результат |
Contact |
|
public Get ( ) : IEnumerable |
Результат |
IEnumerable |
|
public Post ( AddContactCommand command ) : HttpResponseMessage |
command |
AddContactCommand |
|
Результат |
System.Net.Http.HttpResponseMessage |
|
public Put ( int id, UpdateContactCommand command ) : void |
id |
int |
|
command |
UpdateContactCommand |
|
Результат |
void |
|