using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;

namespace JobsMedical.Web.Pages.Account;

// Profile was merged into the employee panel (/Me). Keep the old URL working.
[Authorize]
public class ProfileModel : PageModel
{
    public IActionResult OnGet() => RedirectToPage("/Me/Index");
}
