Demo/Domain/UseCase/IPresenceUseCase.cs

16 lines
700 B
C#
Raw Permalink Normal View History

2024-10-22 18:51:54 +00:00
using Demo.Domain.Models;
namespace Demo.Domain.UseCase
{
public interface IPresenceUseCase
{
List<Presence> GetPresenceByGroup(int groupID);
List<Presence> GetPresenceByGroupByTime(int groupID, DateOnly date);
2024-10-28 10:39:15 +00:00
List<Presence> GetPresenceByUser(Guid userGuid);
List<Presence> GetFalsePresenceByUser(Guid userGuid);
List<Presence> GetFalsePresenceByGroup(int groupID);
2024-10-23 07:53:19 +00:00
bool IsAttedance(int firstLesson, int lastLesson, DateOnly date, Guid UserGuid);
2024-10-22 18:51:54 +00:00
bool GeneratePresence(int firstLesson, int lastLesson, int groupID, DateOnly date);
2024-10-23 09:14:11 +00:00
bool GeneratePresenceWeek(int firstLesson, int lastLesson, int groupID, DateOnly date);
2024-10-22 18:51:54 +00:00
}
}