/*<summary> * Fetched the current event details based on event ID * calls pItStopBAL to fet pitStops for the event * </summary> * <returns> * View of the List of pitStops * </returns>*/ /// <param name="EventID"></param> public ActionResult Index(int EventID = 0) { Session["eventId"] = EventID; Event currentEvent = eventBAL.GetSelectedEvent(EventID); return(PartialView("_Index", pitStopBAL.getPitStopOfEvent(EventID))); }
public ActionResult EventDetails(int eventId) { return(PartialView("_EventDetails", eventBAL.GetSelectedEvent(eventId))); }