using Microsoft.AspNetCore.Mvc.RazorPages;
using PlanTempus.Application.Features.Accounts.Models;

namespace PlanTempus.Application.Features.Accounts.Pages;

public class SignupModel : PageModel
{
    public PlanInfo SelectedPlan { get; private set; } = PlanCatalog.Pro;

    public void OnGet(string plan = "pro")
    {
        SelectedPlan = PlanCatalog.GetPlan(plan);
    }
}
