Demo/Domain/UseCase/IPresenceUseCase.cs

13 lines
527 B
C#
Raw Normal View History

2024-10-23 19:46:46 +00:00
using Demo.domain.Models;
namespace Demo.Domain.UseCase
{
public interface IPresenceUseCase
{
List<Presence> GetPresencesByGroup(int groupId);
List<Presence> GetPresencesByGroupAndDate(int groupId, DateOnly date);
bool UpdateAttedance(int firstLesson, int lastLesson, DateOnly date, Guid UserGuid);
bool GeneratePresence(int firstLesson, int lastLesson, int groupId, DateOnly date);
bool GenerateWeekPresence(int firstLesson, int lastLesson, int groupId, DateOnly date);
}
}