Demo/Domain/UseCase/IPresenceUseCase.cs
2024-10-23 22:46:46 +03:00

13 lines
527 B
C#

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);
}
}