C# Class API.Controllers.TransitApiController

Inheritance: Controller
Show file Open project: RikkiGibson/Corvallis-Bus-Server Class Usage Examples

Public Methods

Method Description
ParseStopIds ( string stopIds ) : List
TransitApiController ( ) : System.Linq

Dependency-injected application settings which are then passed on to other components.

Private Methods

Method Description
GetArrivalsSummary ( string stopIds ) : Task
GetETAs ( string stopIds ) : Task
GetFavoritesViewModel ( string location, string stops ) : Task
GetSchedule ( string stopIds ) : Task
GetStaticData ( ) : Task
Index ( ) : System.Web.Mvc.ActionResult
Init ( ) : string
ParseUserLocation ( string location ) : LatLong?

Generates a new LatLong based on input. Throws an exception if it can't do it.

Method Details

ParseStopIds() public method

public ParseStopIds ( string stopIds ) : List
stopIds string
return List

TransitApiController() public method

Dependency-injected application settings which are then passed on to other components.
public TransitApiController ( ) : System.Linq
return System.Linq