using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace RestaurantWeb2.Pages;
public class LogoutModel : PageModel {
    public IActionResult OnGet(){HttpContext.Session.Clear();return RedirectToPage("/Index");}
}
