C# Class WebAPIwithODataSample.Controllers.VediosController

Inheritance: ODataController
Afficher le fichier Open project: uname-yang/WorkFlow-Engine-OData-WebApi-with-OdataClient

Méthodes publiques

Méthode Description
Delete ( [ key ) : IHttpActionResult
Get ( [ key ) : Vedio
Post ( [ vedio ) : IHttpActionResult
Put ( [ key, Vedio vedio ) : IHttpActionResult

Méthodes protégées

Méthode Description
GetMovieByKey ( int key ) : Vedio

Private Methods

Méthode 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 méthode

public Delete ( [ key ) : IHttpActionResult
key [
Résultat IHttpActionResult

Get() public méthode

public Get ( [ key ) : Vedio
key [
Résultat WebAPIwithODataSample.Models.SampleModel.Vedio

GetMovieByKey() protected méthode

protected GetMovieByKey ( int key ) : Vedio
key int
Résultat WebAPIwithODataSample.Models.SampleModel.Vedio

Post() public méthode

public Post ( [ vedio ) : IHttpActionResult
vedio [
Résultat IHttpActionResult

Put() public méthode

public Put ( [ key, Vedio vedio ) : IHttpActionResult
key [
vedio WebAPIwithODataSample.Models.SampleModel.Vedio
Résultat IHttpActionResult