using CashLineERP.Contracts.Health;

namespace CashLineERP.Application.Health;

public sealed class ApplicationHealthService : IApplicationHealthService
{
    public HealthCheckResponse GetCurrentStatus(string environmentName, string version)
    {
        return new HealthCheckResponse(
            Status: "OK",
            ServerTimeUtc: DateTime.UtcNow,
            Environment: environmentName,
            Version: version);
    }
}

