public IEnumerable <StationObject> GetAccessibleStations(string StationAbbrev, int IsOutbound) { Direction direction = (IsOutbound.Equals(1)) ? Direction.Outbound : Direction.Inbound; List <StationObject> lst = HelperModels.GetLinesFromStation(StationAbbrev, direction); return(lst); }
public string GetEmployeeById([FromBody] HelperModels post_data) { //return JsonConvert.SerializeObject(post_data); return(UoW.employeeRepository.GetTById(1)); }
public void LoadLiveData() { //real time data (train positions, alerts, etc.) HelperModels.LoadLiveData(); }
public IEnumerable <StationObject> GetStations() { IEnumerable <StationObject> lst = (StationsList == null) ? HelperModels.GetStations() : StationsList; return(lst); }
public void LoadInitialData() { //static lists that do not change much (list of stations, stops, etc.) HelperModels.LoadInitialData(); }