C# Class UI.Areas.Api.Controllers.VotableFeaturesController

Inheritance: ApiControllerBase
Mostrar archivo Open project: NemeStats/NemeStats

Public Methods

Method Description
Get ( string id ) : VotableFeatureViewModel
Post ( FeatureVote featureVote ) : void
VotableFeaturesController ( IVotableFeatureRetriever votableFeatureRetriever, IVotableFeatureVoter votableFeatureVoter ) : System.Net

Method Details

Get() public method

public Get ( string id ) : VotableFeatureViewModel
id string
return UI.Models.VotableFeatureViewModel

Post() public method

public Post ( FeatureVote featureVote ) : void
featureVote UI.Areas.Api.Models.FeatureVote
return void

VotableFeaturesController() public method

public VotableFeaturesController ( IVotableFeatureRetriever votableFeatureRetriever, IVotableFeatureVoter votableFeatureVoter ) : System.Net
votableFeatureRetriever IVotableFeatureRetriever
votableFeatureVoter IVotableFeatureVoter
return System.Net