namespace ZB.MOM.WW.MxGateway.Server.Dashboard;

public sealed record DashboardSessionAdminResult(
    bool Succeeded,
    string Message)
{
    public static DashboardSessionAdminResult Success(string message)
    {
        return new DashboardSessionAdminResult(true, message);
    }

    public static DashboardSessionAdminResult Fail(string message)
    {
        return new DashboardSessionAdminResult(false, message);
    }
}
