C# Class WebAPIwithODataSample.Controllers.VediosController

Inheritance: ODataController
Exibir arquivo Open project: uname-yang/WorkFlow-Engine-OData-WebApi-with-OdataClient

Public Methods

Method Description
Delete ( [ key ) : IHttpActionResult
Get ( [ key ) : Vedio
Post ( [ vedio ) : IHttpActionResult
Put ( [ key, Vedio vedio ) : IHttpActionResult

Protected Methods

Method Description
GetMovieByKey ( int key ) : Vedio

Private Methods

Method Description
CheckOut ( [ key ) : Vedio
CheckOutMany ( ODataActionParameters parameters ) : IHttpActionResult
CreateVedioAc ( ODataActionParameters parameters ) : IHttpActionResult
Get ( ) : IHttpActionResult
ListAc ( ODataActionParameters parameters ) : IHttpActionResult
ReturnAc ( ODataActionParameters parameters ) : IHttpActionResult
TryCheckoutMovie ( Vedio movie ) : bool

Method Details

Delete() public method

public Delete ( [ key ) : IHttpActionResult
key [
return IHttpActionResult

Get() public method

public Get ( [ key ) : Vedio
key [
return WebAPIwithODataSample.Models.SampleModel.Vedio

GetMovieByKey() protected method

protected GetMovieByKey ( int key ) : Vedio
key int
return WebAPIwithODataSample.Models.SampleModel.Vedio

Post() public method

public Post ( [ vedio ) : IHttpActionResult
vedio [
return IHttpActionResult

Put() public method

public Put ( [ key, Vedio vedio ) : IHttpActionResult
key [
vedio WebAPIwithODataSample.Models.SampleModel.Vedio
return IHttpActionResult