15 lines
320 B
Plaintext
15 lines
320 B
Plaintext
|
@page
|
||
|
@using Microsoft.AspNetCore.Http
|
||
|
@model OEAPIModel
|
||
|
@{
|
||
|
ViewData["Title"] = "OEAPI";
|
||
|
|
||
|
if (HttpContext.Session.GetString("authorized") != "true") {
|
||
|
Response.Redirect("/");
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
Response.Redirect("/Trip?id=" + Model.TripId + "&edit=true");
|
||
|
}
|
||
|
|
||
|
Trip saved. Redirecting...
|