using Levelcode_licence.DataAccess;

namespace Levelcode_licence.Business
{
    public class DashboardService
    {
        private readonly DashboardDAL _dal;

        public DashboardService(DashboardDAL dal)
        {
            _dal = dal;
        }

        public int TotalLicencas() => _dal.TotalLicencas();
        public int LicencasAtivas() => _dal.LicencasAtivas();
        public int LicencasInativas() => _dal.LicencasInativas();
        public int MaquinasAtivas() => _dal.MaquinasAtivas();
        public int LicencasNoLimite() => _dal.LicencasNoLimite();
    }
}
