kreta/Kreta.DataAccessManual/Interfaces/INemKotottMunkaidoDal.cs
2024-03-13 00:33:46 +01:00

25 lines
1.5 KiB
C#

using System;
using System.Data;
using Kreta.DataAccess.Interfaces;
namespace Kreta.DataAccessManual.Interfaces
{
public interface INemKotottMunkaidoDal
{
INemKotottMunkaido Get();
INemKotottMunkaido GetNemKotottMunkaidoById(int Id);
int Insert(INemKotottMunkaido entity);
void Update(int id, bool megtartott, string megjegyzes = null, DateTime? kezdet = null, DateTime? vege = null, int? tipus = null);
void UpdateNemKotottMunkaIdoByGroupId(int pTanevId, string pGroupId, DateTime pIdoszakKezdete, DateTime pIdoszakVege, string pNewGroupId, int pTorvenyikategoria, string pMegjegyzes, int userId);
void Delete(int Id);
void AdminDelete(int Id);
void TanarDelete(int Id);
DataSet GetNapokForNemKotottMunkaidoInsert(int intezmenyId, int tanevId, DateTime start, DateTime end, DateTime selected, int hetirend);
DataSet GetNapokForNemKotottMunkaidoDelete(int intezmenyId, int tanevId, DateTime start, DateTime end, string groupId);
int GetNemKotottMunkaidoId(int oralatogatasId, int tanarId);
DataSet GetNemKotottMunkaidoData(int tanevId, int? pFeladatKategoriaId = null, int? pFeladatEllatasiHelyId = null);
bool IsElmaradtOraAndPedagogusHasNemkotottMunkaido(int tanitasioraId);
bool HasTanarNemKotottMunkaidoUtkozes(int tanarId, DateTime oraKezdete, DateTime oraVege, int? nemkotottId);
DataSet GetNemKotottMunkaIdoHelyettesiteshez(int tanevId, DateTime start, DateTime end);
}
}