C# Class Apistry.Samples.Service.Api.Controllers.BlogsController

This defines a crude representation of an un-documented ApiController.
Inheritance: ApiController
Show file Open project: Cephei/Apistry

Public Methods

Method Description
DeleteBlog ( Int32 blogId ) : void
GetBlog ( Int32 blogId ) : BlogDto
GetBlogs ( ) : IEnumerable
PatchBlog ( PatchRequest patchRequest ) : HttpResponseMessage
PostBlog ( BlogDto blog ) : HttpResponseMessage

Method Details

DeleteBlog() public method

public DeleteBlog ( Int32 blogId ) : void
blogId System.Int32
return void

GetBlog() public method

public GetBlog ( Int32 blogId ) : BlogDto
blogId System.Int32
return BlogDto

GetBlogs() public method

public GetBlogs ( ) : IEnumerable
return IEnumerable

PatchBlog() public method

public PatchBlog ( PatchRequest patchRequest ) : HttpResponseMessage
patchRequest PatchRequest
return System.Net.Http.HttpResponseMessage

PostBlog() public method

public PostBlog ( BlogDto blog ) : HttpResponseMessage
blog BlogDto
return System.Net.Http.HttpResponseMessage