protected StationsHeader CreateHeader(StationLocationsBase StationLocations) { var header = new StationsHeader(); header.Title = StationLocations.ShortName; return(header); }
public void Jumbotron(string name, StationLocationsBase stationLocation) { _pageBuilder.Append("<div class='jumbotron'>"); _pageBuilder.Append("<div class='row'>"); _pageBuilder.Append("<div class='col-md-4'>"); _pageBuilder.Append($"<h1>{name}</h1>"); _pageBuilder.Append($"<h5>{stationLocation.Address}</h5>"); _pageBuilder.Append("</div>"); _pageBuilder.Append("</div>"); _pageBuilder.Append("</div>"); }