C# Класс Apistry.Samples.Service.Api.Controllers.BlogsController

This defines a crude representation of an un-documented ApiController.
Наследование: ApiController
Показать файл Открыть проект

Открытые методы

Метод Описание
DeleteBlog ( Int32 blogId ) : void
GetBlog ( Int32 blogId ) : BlogDto
GetBlogs ( ) : IEnumerable
PatchBlog ( PatchRequest patchRequest ) : HttpResponseMessage
PostBlog ( BlogDto blog ) : HttpResponseMessage

Описание методов

DeleteBlog() публичный Метод

public DeleteBlog ( Int32 blogId ) : void
blogId System.Int32
Результат void

GetBlog() публичный Метод

public GetBlog ( Int32 blogId ) : BlogDto
blogId System.Int32
Результат BlogDto

GetBlogs() публичный Метод

public GetBlogs ( ) : IEnumerable
Результат IEnumerable

PatchBlog() публичный Метод

public PatchBlog ( PatchRequest patchRequest ) : HttpResponseMessage
patchRequest PatchRequest
Результат System.Net.Http.HttpResponseMessage

PostBlog() публичный Метод

public PostBlog ( BlogDto blog ) : HttpResponseMessage
blog BlogDto
Результат System.Net.Http.HttpResponseMessage