17 lines
731 B
C#
17 lines
731 B
C#
using Demo.Domain.Models;
|
|
|
|
namespace Demo.Domain.UseCase
|
|
{
|
|
public interface IPresenceUseCase
|
|
{
|
|
List<Presence> GetPresenceByGroup(int groupID);
|
|
List<Presence> GetPresenceByGroupByTime(int groupID, DateOnly date);
|
|
List<Presence> GetPresenceByUser(Guid userGuid);
|
|
List<Presence> GetFalsePresenceByUser(Guid userGuid);
|
|
List<Presence> GetFalsePresenceByGroup(int groupID);
|
|
bool IsAttedance(int firstLesson, int lastLesson, DateOnly date, Guid UserGuid);
|
|
bool GeneratePresence(int firstLesson, int lastLesson, int groupID, DateOnly date);
|
|
bool GeneratePresenceWeek(int firstLesson, int lastLesson, int groupID, DateOnly date);
|
|
bool DeletePresence();
|
|
}
|
|
} |