namespace RealCV.Application.Helpers;

public static class ScoreThresholds
{
    public const int High = 70;
    public const int Medium = 50;

    public static string GetScoreClass(int score) => score switch
    {
        > High => "score-high",
        >= Medium => "score-medium",
        _ => "score-low"
    };

    public static string GetBadgeClass(int score) => score switch
    {
        > High => "bg-success",
        >= Medium => "bg-warning text-dark",
        _ => "bg-danger"
    };
}
