15 lines
278 B
Plaintext
15 lines
278 B
Plaintext
|
@page
|
||
|
@using Microsoft.AspNetCore.Http
|
||
|
@model CardModel
|
||
|
|
||
|
@{
|
||
|
ViewData["Title"] = "Card";
|
||
|
Response.Redirect("/Cards");
|
||
|
|
||
|
if (HttpContext.Session.GetString("authorized") != "true") {
|
||
|
Response.Redirect("/");
|
||
|
return;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Card saved. Redirecting...
|