Updated Route controller to adapt to new model
This commit is contained in:
parent
334ad6bce5
commit
9e00882743
@ -152,9 +152,7 @@ namespace EFB.Controllers
|
||||
{
|
||||
//fill in route
|
||||
string finalRoute = RouteModel.ParseRoute(routeString);
|
||||
|
||||
RouteModel route = RouteModel.StringToRoute(departure, arrival, cruise, finalRoute);
|
||||
user.Route = route;
|
||||
user.Route = finalRoute;
|
||||
HttpContext.Session.SetObject("User", user);
|
||||
|
||||
return RedirectToAction("Index", "Route");
|
||||
|
Loading…
Reference in New Issue
Block a user