init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
|
@ -0,0 +1,27 @@
|
|||
using Kreta.BusinessLogic.Helpers;
|
||||
using Kreta.BusinessLogic.Helpers.SystemSettings;
|
||||
using Kreta.Core.ConnectionType;
|
||||
using Kreta.DataAccessManual.Util;
|
||||
using Kreta.Ellenorzo.Domain.VN.Common;
|
||||
using Kreta.Ellenorzo.Domain.VN.Intezmeny.TestreszabasBeallitasok;
|
||||
using Kreta.Enums;
|
||||
|
||||
namespace Kreta.Ellenorzo.BL.VN.Intezmeny.TestreszabasBeallitasok
|
||||
{
|
||||
internal static class TestreszabasBeallitasokSubqueries
|
||||
{
|
||||
internal static TestreszabasBeallitasokResponse GetTestreszabasBeallitasok(DefaultConnectionParameters dcp)
|
||||
{
|
||||
var helper = new SystemSettingsHelper(new MobileConnectionType(dcp.FelhasznaloId, dcp.IntezmenyId, dcp.IntezmenyAzonosito, dcp.TanevId));
|
||||
|
||||
return new TestreszabasBeallitasokResponse
|
||||
{
|
||||
IsDiakRogzithetHaziFeladatot = helper.GetSystemSettingValue<bool>(RendszerBeallitasTipusEnum.Diak_altali_hazifeladatok_rogzitese),
|
||||
IsTanorakTemajaMegtekinthetoEllenorzoben = helper.GetSystemSettingValue<bool>(RendszerBeallitasTipusEnum.Tanora_Tema_Az_Ellenorzoben),
|
||||
IsOsztalyAtlagMegjeleniteseEllenorzoben = helper.GetSystemSettingValue<bool>(RendszerBeallitasTipusEnum.Osztalyatlag_megjelenitese_az_ellenorzo_feluleten),
|
||||
ErtekelesekMegjelenitesenekKesleltetesenekMerteke = helper.GetSystemSettingValue<int>(RendszerBeallitasTipusEnum.Ertekelesek_megjelenese_az_ellenorzo_modulban),
|
||||
KovetkezoTelepitesDatuma = new AdminHelper(new DalHandlerConnectionType(new MobileConnectionType(dcp.FelhasznaloId, dcp.IntezmenyId, dcp.IntezmenyAzonosito, dcp.TanevId), dcp.DalHandler)).GetKovTelepitesDatum()
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue