using System; using System.Collections.Generic; using Kreta.BusinessLogic.Helpers; using Kreta.Core.ConnectionType; using Kreta.DataAccessManual.Interfaces; using Kreta.DataAccessManual.Util; namespace Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Logic { public static class OraLogic { public static List ListParhuzamosOranNaplozottMulasztasTanuloId(DateTime oraKezdete, DateTime oraVege, int tanoraId, IConnectionType connectionType, IDalHandler h) => new MulasztasHelper(new DalHandlerConnectionType(connectionType, h)).ListParhuzamosOranNaplozottMulasztasTanuloId(oraKezdete, oraVege, tanoraId); public static List ListElozoOranHianyzottTanuloId(DateTime oraKezdetDatuma, int osztalyCsoportId, int userId, int intezmenyId, string intezmenyAzonosito, int tanevId) => new TanuloHelper(new MobileConnectionType(userId, intezmenyId, intezmenyAzonosito, tanevId)).GetElozoOranHianyzottTanulok(oraKezdetDatuma, osztalyCsoportId); } }