public DashboardModule() { Get["/"] = x => { var model = new Model(); var t = new Trains(); model.Trains = t.GetTrains(); return View["index", model]; }; }
public DashboardModule() { Get["/"] = x => { var model = new Model(); var t = new Trains(); model.Trains = t.GetTrains(); return(View["index", model]); }; }