init
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
using Kreta.BusinessLogic.Helpers;
|
||||
using Kreta.Core.ConnectionType;
|
||||
using Kreta.DataAccessManual.Util;
|
||||
using Kreta.Ellenorzo.Domain.VN.Common;
|
||||
|
||||
namespace Kreta.Ellenorzo.BL.VN.TargyiEszkoz
|
||||
{
|
||||
internal static class TargyiEszkozSubqueries
|
||||
{
|
||||
internal static bool IsEszkozKiosztva(DefaultConnectionParameters dcp)
|
||||
{
|
||||
return new EszkozIgenylesHelper(new DalHandlerConnectionType(new MobileConnectionType(dcp.FelhasznaloId, dcp.IntezmenyId, dcp.IntezmenyAzonosito, dcp.TanevId), dcp.DalHandler)).IsEszkozKiosztva(dcp.TanuloId);
|
||||
}
|
||||
|
||||
internal static bool? IsRegistered(DefaultConnectionParameters dcp)
|
||||
{
|
||||
return new FeltarGondviseloHelper(new DalHandlerConnectionType(new MobileConnectionType(dcp.FelhasznaloId, dcp.IntezmenyId, dcp.IntezmenyAzonosito, dcp.TanevId), dcp.DalHandler)).IsRegisztralt(dcp.TanuloId, dcp.GondviseloId.Value);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user