C# Class MyProducts.Services.Controllers.ImagesController

Web API for product images.
Inheritance: ApiController
显示文件 Open project: ChristianWeyer/myProducts-End-to-End

Public Methods

Method Description
Get ( string id ) : HttpResponseMessage

Get an image (JPG) by ID.

ImagesController ( ) : System.Web.Http.OData

Default constructor

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Dispose DB context.

Private Methods

Method Description
Get ( ) : IQueryable

Method Details

Dispose() protected method

Dispose DB context.
protected Dispose ( bool disposing ) : void
disposing bool
return void

Get() public method

Get an image (JPG) by ID.
public Get ( string id ) : HttpResponseMessage
id string Image ID
return System.Net.Http.HttpResponseMessage

ImagesController() public method

Default constructor
public ImagesController ( ) : System.Web.Http.OData
return System.Web.Http.OData