C# Class TrolleyTracker.Controllers.RouteSchedulesController

Inheritance: Controller
Datei anzeigen Open project: codeforgreenville/trolley-tracker-api-dot-net

Public Methods

Method Description
Details ( int id ) : System.Web.Mvc.ActionResult
Index ( ) : System.Web.Mvc.ActionResult

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
Create ( ) : System.Web.Mvc.ActionResult
Create ( [ Include = "ID,RouteID,DayOfWeek,StartTime,EndTime")]RouteSchedulerouteSchedule ) : System.Web.Mvc.ActionResult
Delete ( int id ) : System.Web.Mvc.ActionResult
DeleteConfirmed ( int id ) : System.Web.Mvc.ActionResult
Edit ( [ Include = "ID,RouteID,DayOfWeek,StartTime,EndTime")]RouteSchedulerouteSchedule ) : System.Web.Mvc.ActionResult
Edit ( int id ) : System.Web.Mvc.ActionResult
ExtractTimeValue ( System.DateTime startTime ) : System.DateTime

Effectively strip off year by forcing everything to a fixed year

GetWeekDaySelectorFor ( int dayOfWeek ) : System.Web.Mvc.SelectList

Method Details

Details() public method

public Details ( int id ) : System.Web.Mvc.ActionResult
id int
return System.Web.Mvc.ActionResult

Dispose() protected method

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

Index() public method

public Index ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult