C# Class XApps.WebApi.Controllers.RatingController

Inheritance: ApiController
显示文件 Open project: rehrumesh/XApps

Public Methods

Method Description
GetRatings ( ) : IQueryable
PutRating ( int id, Rating rating ) : IHttpActionResult

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
DeleteRating ( int id ) : IHttpActionResult
GetRating ( int id ) : IHttpActionResult
PostRating ( Rating rating ) : IHttpActionResult
RatingExists ( int id ) : bool

Method Details

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

GetRatings() public method

public GetRatings ( ) : IQueryable
return IQueryable

PutRating() public method

public PutRating ( int id, Rating rating ) : IHttpActionResult
id int
rating XApps.WebApi.Models.Rating
return IHttpActionResult