Raspisanie/Zurnal/RemaDateBase/Interfase/IGroupRepository.cs

32 lines
893 B
C#
Raw Normal View History

2024-10-24 11:43:25 +00:00
using System;
using System.Text.RegularExpressions;
using Zurnal.domain.Models;
using Group = System.Text.RegularExpressions.Group;
public interface IGroupRepository
{
void AddGroup(Group group);
Group GetGroupById(int id);
IEnumerable<Group> GetAllGroups();
void UpdateGroup(Group group);
void DeleteGroup(int id);
object GetAllGroup();
}
public interface IUserRepository
{
void AddUser(User user);
User GetUserById(int id);
IEnumerable<User> GetAllUsers();
void UpdateUser(User user);
void DeleteUser(int id);
}
public interface IPresenceRepository
{
void AddPresence(Presence presence);
Presence GetPresenceById(int id);
IEnumerable<Presence> GetAllPresences();
void UpdatePresence(Presence presence);
void DeletePresence(int id);
}