C# Class BrokenShoeLeague.Web.API.Controllers.SeasonsController

Inheritance: ApiController
Show file Open project: YeeRSoft/broken-shoe-league

Public Methods

Method Description
Delete ( int id ) : IHttpActionResult
Post ( [ season ) : IHttpActionResult
Put ( [ id, [ season ) : IHttpActionResult
SeasonsController ( IBrokenShoeLeagueRepository brokenShoeLeagueRepository, ISeasonStatsProvider seasonStatsProvider ) : System.Data.Entity.Infrastructure

Private Methods

Method Description
GetMatchdays ( int seasonId ) : IHttpActionResult
GetRanking ( int seasonId ) : IHttpActionResult
GetSeason ( int id ) : IHttpActionResult
GetSeasons ( ) : IHttpActionResult
GetTopAssits ( int seasonId ) : IHttpActionResult
GetTopScorers ( int seasonId ) : IHttpActionResult

Method Details

Delete() public method

public Delete ( int id ) : IHttpActionResult
id int
return IHttpActionResult

Post() public method

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

Put() public method

public Put ( [ id, [ season ) : IHttpActionResult
id [
season [
return IHttpActionResult

SeasonsController() public method

public SeasonsController ( IBrokenShoeLeagueRepository brokenShoeLeagueRepository, ISeasonStatsProvider seasonStatsProvider ) : System.Data.Entity.Infrastructure
brokenShoeLeagueRepository IBrokenShoeLeagueRepository
seasonStatsProvider ISeasonStatsProvider
return System.Data.Entity.Infrastructure